Mini Shell
2023-04-25 15:22:53 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:22:53 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:22:53 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:22:53 DEBUG 139.47.106.110 BEGIN Transaction
2023-04-25 15:22:53 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-25 15:22:53 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 COMMIT Transaction
2023-04-25 15:22:53 INFO 139.47.106.110 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-25 15:22:53 INFO 139.47.106.110 Module modWebhook not qualified
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 User::loadParentOf
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 User::get_full_tree get user list
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 User::get_full_tree call to build_path_from_id_user
2023-04-25 15:22:53 DEBUG 139.47.106.110 User::get_full_tree dol_sort_array
2023-04-25 15:22:53 INFO 139.47.106.110 Build childid for id = 1
2023-04-25 15:22:53 INFO 139.47.106.110 Module modDeplacement not qualified
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-25 15:22:53 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-25 15:22:53 INFO 139.47.106.110 Module modCollab not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 useNPR
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 INFO 139.47.106.110 Module modWorkstation not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 INFO 139.47.106.110 Module modDataPolicy not qualified
2023-04-25 15:22:54 INFO 139.47.106.110 Module modStockTransfer not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-04-25 15:22:54 INFO 139.47.106.110 Module modZapier not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 INFO 139.47.106.110 Module modBookCal not qualified
2023-04-25 15:22:54 INFO 139.47.106.110 Module modAsset not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 useNPR
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:22:54 INFO 139.47.106.110 Module modFTP not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 INFO 139.47.106.110 Module modIntracommreport not qualified
2023-04-25 15:22:54 INFO 139.47.106.110 Module modDynamicPrices not qualified
2023-04-25 15:22:54 INFO 139.47.106.110 Module modWebServicesClient not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 INFO 139.47.106.110 Module modLabel not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 INFO 139.47.106.110 Module modDocumentGeneration not qualified
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-25 15:22:54 INFO 139.47.106.110 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-25 15:22:54 INFO 139.47.106.110 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-25 15:22:54 INFO 139.47.106.110 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-25 15:22:54 INFO 139.47.106.110 --- End access to /admin/htdocs/admin/modules.php
2023-04-25 15:22:54 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-25 15:22:54 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:22:54 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:22:54 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:22:54 INFO 139.47.106.110 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-25 15:23:02 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:02 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:02 DEBUG 139.47.106.110 BEGIN Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 COMMIT Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 BlockedLog::create action=MODULE_SET fk_user=1 user_fullname=SuperAdmin
2023-04-25 15:23:02 DEBUG 139.47.106.110 BEGIN Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-04-25 15:23:02 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=DELETE FROM oe_const WHERE name = 'BLOCKEDLOG_ENTITY_FINGERPRINT' AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('BLOCKEDLOG_ENTITY_FINGERPRINT', 'ff0b77af660c88f7e850e76825fa2f08cf21883b834715a7f587a99dd55810f1', 'chaine', 0, 'Numeric Unique Fingerprint', 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-04-25 17:23:02','MODULE_SET',0,'8eedc414ba1886284fe4bd4a11a7ea4711760ab2870ec53bd5da74535217e342','8c365059e66d1e1d53382f07375b34897210ff7ac10eff7b9cd199f3acd2186c','module',1,'2023-04-25 17:23:02','systemevent','O:8:\"stdClass\":6:{s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:2:\"id\";i:1;s:7:\"element\";s:6:\"module\";s:3:\"ref\";s:11:\"systemevent\";s:6:\"entity\";i:1;s:4:\"date\";i:1682436182;}','',0,1,'SuperAdmin',1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 COMMIT Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 BEGIN Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 modBlockedLog::_active delete activation constant
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_BLOCKEDLOG' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 modBlockedLog::_active insert activation constant
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_BLOCKEDLOG', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"139.47.106.110\",\"lastactivationversion\":\"dolibarr\"}')
2023-04-25 15:23:02 DEBUG 139.47.106.110 modBlockedLog::insert_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT count(*) FROM oe_const WHERE name = 'BLOCKEDLOG_DISABLE_NOT_ALLOWED_FOR_COUNTRY' AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_const (name,type,value,note,visible,entity) VALUES ('BLOCKEDLOG_DISABLE_NOT_ALLOWED_FOR_COUNTRY','chaine','FR','This is list of country code where the module may be mandatory','0',1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 modBlockedLog::insert_boxes
2023-04-25 15:23:02 DEBUG 139.47.106.110 modBlockedLog::insert_cronjobs
2023-04-25 15:23:02 DEBUG 139.47.106.110 modBlockedLog::insert_permissions
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_BLOCKEDLOG' AND entity IN (0,1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 3201 AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (3201,1,'Read archived events and fingerprints','blockedlog','w',0,'read')
2023-04-25 15:23:02 DEBUG 139.47.106.110 modBlockedLog::insert_permissions Search all admin users
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-04-25 15:23:02 INFO 139.47.106.110 modBlockedLog::insert_permissions Add permission id 3201 to user id=1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-04-25 15:23:02 INFO 139.47.106.110 User::addrights 3201, , , 1, 1 for user id=1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 3201 AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=3201 OR (module='blockedlog' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 3201 AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 3201)
2023-04-25 15:23:02 INFO 139.47.106.110 User::clearrights reset user->rights
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:02 DEBUG 139.47.106.110 modBlockedLog::insert_menus
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 200 AND url = '/blockedlog/admin/blockedlog_list.php?mainmenu=tools&leftmenu=blockedlogbrowser' AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 Menubase::create
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'blockedlog', 'left', 'tools', 'blockedlogbrowser', -1, 'tools', null, 200, '/blockedlog/admin/blockedlog_list.php?mainmenu=tools&leftmenu=blockedlogbrowser', '', 'BrowseBlockedLog', '<span class=\"fas fa-cogs em080 paddingright pictofixedwidth\" style=\" color: #999;\"></span>', 'blockedlog', '$user->rights->blockedlog->read', '$conf->blockedlog->enabled', '2')
2023-04-25 15:23:02 DEBUG 139.47.106.110 Menubase::create record added has rowid=58
2023-04-25 15:23:02 DEBUG 139.47.106.110 COMMIT Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 BEGIN Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '68', 'chaine', 0, '', 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 COMMIT Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-04-25 15:23:02 INFO 139.47.106.110 --- End access to /admin/htdocs/admin/modules.php
2023-04-25 15:23:02 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:02 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:02 DEBUG 139.47.106.110 BEGIN Transaction
2023-04-25 15:23:02 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 admin.lib::dolibarr_set_const
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 COMMIT Transaction
2023-04-25 15:23:02 INFO 139.47.106.110 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-25 15:23:02 INFO 139.47.106.110 Module modWebhook not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 User::loadParentOf
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 User::get_full_tree get user list
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 User::get_full_tree call to build_path_from_id_user
2023-04-25 15:23:02 DEBUG 139.47.106.110 User::get_full_tree dol_sort_array
2023-04-25 15:23:02 INFO 139.47.106.110 Build childid for id = 1
2023-04-25 15:23:02 INFO 139.47.106.110 Module modDeplacement not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-25 15:23:02 INFO 139.47.106.110 Module modCollab not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 useNPR
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 INFO 139.47.106.110 Module modWorkstation not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 INFO 139.47.106.110 Module modDataPolicy not qualified
2023-04-25 15:23:02 INFO 139.47.106.110 Module modStockTransfer not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-04-25 15:23:02 INFO 139.47.106.110 Module modZapier not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 INFO 139.47.106.110 Module modBookCal not qualified
2023-04-25 15:23:02 INFO 139.47.106.110 Module modAsset not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 useNPR
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:23:02 INFO 139.47.106.110 Module modFTP not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 INFO 139.47.106.110 Module modIntracommreport not qualified
2023-04-25 15:23:02 INFO 139.47.106.110 Module modDynamicPrices not qualified
2023-04-25 15:23:02 INFO 139.47.106.110 Module modWebServicesClient not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 INFO 139.47.106.110 Module modLabel not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 INFO 139.47.106.110 Module modDocumentGeneration not qualified
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-25 15:23:02 DEBUG 139.47.106.110 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-25 15:23:02 INFO 139.47.106.110 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-25 15:23:02 INFO 139.47.106.110 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-25 15:23:02 INFO 139.47.106.110 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-25 15:23:02 INFO 139.47.106.110 --- End access to /admin/htdocs/admin/modules.php
2023-04-25 15:23:03 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-25 15:23:03 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:03 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:03 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:03 INFO 139.47.106.110 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-25 15:23:07 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:07 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:07 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/blockedlog/admin/blockedlog.php - action=, massaction=
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 LIMIT 1
2023-04-25 15:23:07 INFO 139.47.106.110 Module Blockedlog alreadyUsed with ignoresystem=0 is 1
2023-04-25 15:23:07 DEBUG 139.47.106.110 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite FROM oe_c_country WHERE active > 0
2023-04-25 15:23:07 INFO 139.47.106.110 --- End access to /admin/htdocs/blockedlog/admin/blockedlog.php
2023-04-25 15:23:24 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:24 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:24 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:24 DEBUG 139.47.106.110 InfoBox::listBoxes get default box list for mode=activated userid=
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_factures_imp::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 box_actions::loadBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_actions::showBox
2023-04-25 15:23:24 INFO 139.47.106.110 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1682435105.
2023-04-25 15:23:24 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:23:24 INFO 139.47.106.110 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1682435105.
2023-04-25 15:23:24 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:23:24 INFO 139.47.106.110 box_graph_invoices_supplier_permonth::showBox
2023-04-25 15:23:24 INFO 139.47.106.110 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:24 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:23:24 INFO 139.47.106.110 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:24 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:23:24 INFO 139.47.106.110 box_graph_orders_supplier_permonth::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_fournisseurs::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_factures_fourn_imp::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_factures_fourn::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_supplier_orders::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_supplier_orders_awaiting_reception::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_last_modified_ticket::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_factures::showBox
2023-04-25 15:23:24 INFO 139.47.106.110 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:24 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:23:24 INFO 139.47.106.110 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:24 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:23:24 INFO 139.47.106.110 box_graph_invoices_permonth::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 box_customers_outstanding_bill_reached::loadBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-04-25 15:23:24 INFO 139.47.106.110 box_customers_outstanding_bill_reached::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 box_comptes::loadBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_comptes::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_produits::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_produits_alerte_stock::showBox
2023-04-25 15:23:24 INFO 139.47.106.110 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:24 INFO 139.47.106.110 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-04-25 15:23:24 INFO 139.47.106.110 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:24 INFO 139.47.106.110 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-04-25 15:23:24 INFO 139.47.106.110 box_graph_product_distribution::showBox
2023-04-25 15:23:24 INFO 139.47.106.110 ModeleBoxes::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_services_contracts::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_propales::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 box_birthdays::loadBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '4' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '4' ORDER BY daya ASC LIMIT 5
2023-04-25 15:23:24 INFO 139.47.106.110 box_birthdays::showBox
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-04-25 15:23:24 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-04-25 15:23:25 INFO 139.47.106.110 box_dolibarr_state_board::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 box_clients::loadBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_clients::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 box_prospect::loadBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_prospect::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_contacts::showBox
2023-04-25 15:23:25 INFO 139.47.106.110 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:25 INFO 139.47.106.110 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-04-25 15:23:25 INFO 139.47.106.110 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:25 INFO 139.47.106.110 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-04-25 15:23:25 INFO 139.47.106.110 box_graph_propales_permonth::showBox
2023-04-25 15:23:25 INFO 139.47.106.110 box_lastlogin::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_commandes::showBox
2023-04-25 15:23:25 INFO 139.47.106.110 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:25 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:23:25 INFO 139.47.106.110 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:23:25 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:23:25 INFO 139.47.106.110 box_graph_orders_permonth::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_shipments::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 box_ficheinter::loadBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_ficheinter::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_contracts::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-04-25 17:23:25' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_services_expired::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-04-25 15:23:25 INFO 139.47.106.110 box_last_ticket::showBox
2023-04-25 15:23:25 INFO 139.47.106.110 ModeleBoxes::showBox
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-04-25 15:23:25 DEBUG 139.47.106.110 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-04-25 15:23:25 INFO 139.47.106.110 --- End access to /admin/htdocs/index.php
2023-04-25 15:23:32 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:32 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:32 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:32 DEBUG 139.47.106.110 InfoBox::listBoxes get default box list for mode=activated userid=
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-04-25 15:23:32 DEBUG 139.47.106.110 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-04-25 15:23:32 INFO 139.47.106.110 --- End access to /admin/htdocs/societe/index.php
2023-04-25 15:23:34 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:34 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:34 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-04-25 15:23:34 INFO 139.47.106.110 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-04-25 15:23:34 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-04-25 15:23:34 INFO 139.47.106.110 --- End access to /admin/htdocs/product/index.php
2023-04-25 15:23:35 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:23:35 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:35 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:36 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:36 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-04-25 15:23:36 INFO 139.47.106.110 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-04-25 15:23:36 INFO 139.47.106.110 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-04-25 15:23:36 DEBUG 139.47.106.110 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-04-25 15:23:36 INFO 139.47.106.110 --- End access to /admin/htdocs/comm/index.php
2023-04-25 15:23:37 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:23:37 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:23:37 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-03-26' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-10' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-04-25' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-04-25' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-10' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-05-25' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-04-25 15:23:37 INFO 139.47.106.110 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-03-26' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-10' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-04-25' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-04-25' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-10' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-05-25' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-04-25 15:23:37 INFO 139.47.106.110 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-04-25 15:23:37 DEBUG 139.47.106.110 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-04-25 15:23:37 INFO 139.47.106.110 --- End access to /admin/htdocs/compta/index.php
2023-04-25 15:26:05 DEBUG 139.47.106.110 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 DefaultValues::fetchAll
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-25 15:26:05 NOTICE 139.47.106.110 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-25 15:26:05 DEBUG 139.47.106.110 InfoBox::listBoxes get default box list for mode=activated userid=
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_factures_imp::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 box_actions::loadBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_actions::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1682435105.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1682435105.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 box_graph_invoices_supplier_permonth::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 box_graph_orders_supplier_permonth::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_fournisseurs::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_factures_fourn_imp::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_factures_fourn::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_supplier_orders::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_supplier_orders_awaiting_reception::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_last_modified_ticket::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_factures::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 box_graph_invoices_permonth::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 box_customers_outstanding_bill_reached::loadBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-04-25 15:26:05 INFO 139.47.106.110 box_customers_outstanding_bill_reached::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 box_comptes::loadBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_comptes::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_produits::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_produits_alerte_stock::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-04-25 15:26:05 INFO 139.47.106.110 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-04-25 15:26:05 INFO 139.47.106.110 box_graph_product_distribution::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 ModeleBoxes::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_services_contracts::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_propales::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 box_birthdays::loadBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '4' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '4' ORDER BY daya ASC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_birthdays::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-04-25 15:26:05 INFO 139.47.106.110 box_dolibarr_state_board::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 box_clients::loadBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_clients::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 box_prospect::loadBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_prospect::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_contacts::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 box_graph_propales_permonth::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 box_lastlogin::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_commandes::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1682435104.
2023-04-25 15:26:05 INFO 139.47.106.110 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-25 15:26:05 INFO 139.47.106.110 box_graph_orders_permonth::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_shipments::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 box_ficheinter::loadBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_ficheinter::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_contracts::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-04-25 17:26:05' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_services_expired::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-04-25 15:26:05 INFO 139.47.106.110 box_last_ticket::showBox
2023-04-25 15:26:05 INFO 139.47.106.110 ModeleBoxes::showBox
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-04-25 15:26:05 DEBUG 139.47.106.110 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-04-25 15:26:05 INFO 139.47.106.110 --- End access to /admin/htdocs/index.php
2023-04-26 18:55:53 DEBUG 94.73.43.12 NEW TOKEN generated by : /admin/htdocs/index.php
2023-04-26 18:55:53 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-04-26 18:55:53 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:55:53 INFO 94.73.43.12 --- End access to /admin/htdocs/index.php
2023-04-26 18:55:54 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:54 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:55:54 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:54 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:55:54 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:55:54 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-26 18:55:54 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:54 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:55:54 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:54 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:55:54 INFO 94.73.43.12 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-04-26 18:55:55 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:55 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:55:55 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:55 INFO 94.73.43.12 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-04-26 18:55:55 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-04-26 18:55:55 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-04-26 18:55:55 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:55 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:55:55 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:55 INFO 94.73.43.12 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-04-26 18:55:55 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-04-26 18:55:55 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-04-26 18:55:56 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:56 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-04-26 18:55:56 INFO 94.73.43.12 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-04-26 18:55:56 INFO 94.73.43.12 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-04-26 18:55:56 DEBUG 94.73.43.12 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-04-26 18:55:56 INFO 94.73.43.12 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-04-26 18:55:56 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:55:56 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:55:56 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:55:56 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:56 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:55:56 INFO 94.73.43.12 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-04-26 18:55:56 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:55:56 DEBUG 94.73.43.12 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-04-26 20:55:56', iplastlogin = '94.73.43.12', tms = tms WHERE rowid = 1
2023-04-26 18:55:56 DEBUG 94.73.43.12 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-04-26 20:55:56', iplastlogin = '94.73.43.12', tms = tms WHERE rowid = 1
2023-04-26 18:55:56 INFO 94.73.43.12 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-04-26 18:55:56 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:55:56 DEBUG 94.73.43.12 Events::create
2023-04-26 18:55:56 DEBUG 94.73.43.12 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.43.12', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-04-26 20:55:56', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1691x842', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-04-26 18:55:57 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:55:57 NOTICE 94.73.43.12 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:55:57 DEBUG 94.73.43.12 InfoBox::listBoxes get default box list for mode=activated userid=
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_factures_imp::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 box_actions::loadBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_actions::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 box_graph_invoices_supplier_permonth::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 box_graph_orders_supplier_permonth::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_fournisseurs::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_factures_fourn_imp::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_factures_fourn::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_supplier_orders::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_supplier_orders_awaiting_reception::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_last_modified_ticket::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_factures::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 box_graph_invoices_permonth::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 box_customers_outstanding_bill_reached::loadBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-04-26 18:55:57 INFO 94.73.43.12 box_customers_outstanding_bill_reached::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 box_comptes::loadBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_comptes::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_produits::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_produits_alerte_stock::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getAllByProduct
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 FactureStats::_getAllByProduct
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-04-26 18:55:57 INFO 94.73.43.12 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-04-26 18:55:57 INFO 94.73.43.12 box_graph_product_distribution::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 ModeleBoxes::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_services_contracts::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_propales::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 box_birthdays::loadBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '4' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '4' ORDER BY daya ASC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_birthdays::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-04-26 18:55:57 INFO 94.73.43.12 box_dolibarr_state_board::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 box_clients::loadBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_clients::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 box_prospect::loadBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_prospect::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_contacts::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 PropaleStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 PropaleStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 PropaleStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 PropaleStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 PropaleStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 PropaleStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 box_graph_propales_permonth::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 box_lastlogin::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_commandes::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getNbByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1682535357 - 86400) so we can't use it.
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 CommandeStats::_getAmountByMonth
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-04-26 18:55:57 INFO 94.73.43.12 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-04-26 18:55:57 INFO 94.73.43.12 DolGraph::draw_chart this->type= this->MaxValue=0
2023-04-26 18:55:57 INFO 94.73.43.12 box_graph_orders_permonth::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_shipments::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 box_ficheinter::loadBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_ficheinter::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_contracts::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-04-26 20:55:57' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_services_expired::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-04-26 18:55:57 INFO 94.73.43.12 box_last_ticket::showBox
2023-04-26 18:55:57 INFO 94.73.43.12 ModeleBoxes::showBox
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-04-26 18:55:57 INFO 94.73.43.12 --- End access to /admin/htdocs/index.php
2023-04-26 18:55:57 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:55:57 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:55:57 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:55:58 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:55:58 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-26 18:55:58 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:55:58 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:58 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:55:58 INFO 94.73.43.12 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-04-26 18:55:59 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:55:59 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:55:59 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:59 INFO 94.73.43.12 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-04-26 18:55:59 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-04-26 18:55:59 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-04-26 18:55:59 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:55:59 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:55:59 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:55:59 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:55:59 INFO 94.73.43.12 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-04-26 18:55:59 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-04-26 18:55:59 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-04-26 18:56:05 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:05 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:05 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:05 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/index.php
2023-04-26 18:56:05 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:56:05 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:05 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:05 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:05 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-26 18:56:21 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:21 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:21 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/user/home.php - action=, massaction=
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:21 DEBUG 94.73.43.12 InfoBox::listBoxes get default box list for mode=activated userid=
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 1 AND b.fk_user = 0 ORDER BY b.box_order
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.lastname, u.firstname, u.admin, u.login, u.fk_soc, u.datec, u.statut, u.entity, u.ldap_sid, u.photo, u.admin, u.email, s.nom as name, s.code_client, s.canvas FROM oe_user as u LEFT JOIN oe_societe as s ON u.fk_soc = s.rowid WHERE u.entity IN (0,1) ORDER BY u.datec DESC LIMIT 10
2023-04-26 18:56:21 DEBUG 94.73.43.12 sql=SELECT g.rowid, g.nom as name, g.note, g.entity, g.datec FROM oe_usergroup as g WHERE g.entity IN (0, 1) ORDER BY g.datec DESC LIMIT 5
2023-04-26 18:56:21 INFO 94.73.43.12 --- End access to /admin/htdocs/user/home.php
2023-04-26 18:56:24 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:24 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:24 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:24 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:24 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:24 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:24 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:24 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:24 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-04-26 18:56:24 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:24 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:24 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/index.php
2023-04-26 18:56:26 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:26 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:26 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:26 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:26 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:26 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:26 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:26 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:26 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-04-26 18:56:26 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:26 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:26 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/index.php
2023-04-26 18:56:28 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:28 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:28 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:28 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:28 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-26 18:56:29 INFO 94.73.43.12 Module modWebhook not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 User::loadParentOf
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-04-26 18:56:29 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-04-26 18:56:29 INFO 94.73.43.12 Build childid for id = 1
2023-04-26 18:56:29 INFO 94.73.43.12 Module modDeplacement not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-26 18:56:29 INFO 94.73.43.12 Module modCollab not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 useNPR
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 INFO 94.73.43.12 Module modWorkstation not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 INFO 94.73.43.12 Module modDataPolicy not qualified
2023-04-26 18:56:29 INFO 94.73.43.12 Module modStockTransfer not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-04-26 18:56:29 INFO 94.73.43.12 Module modZapier not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 INFO 94.73.43.12 Module modBookCal not qualified
2023-04-26 18:56:29 INFO 94.73.43.12 Module modAsset not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 useNPR
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:29 INFO 94.73.43.12 Module modFTP not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 INFO 94.73.43.12 Module modIntracommreport not qualified
2023-04-26 18:56:29 INFO 94.73.43.12 Module modDynamicPrices not qualified
2023-04-26 18:56:29 INFO 94.73.43.12 Module modWebServicesClient not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 INFO 94.73.43.12 Module modLabel not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 INFO 94.73.43.12 Module modDocumentGeneration not qualified
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-26 18:56:29 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-26 18:56:29 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:29 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:29 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:29 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:56:39 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:39 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:39 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=reset, massaction=
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:39 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:39 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-26 18:56:39 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-26 18:56:39 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:39 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:39 DEBUG 94.73.43.12 modExpenseReport::_unactive
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_EXPENSEREPORT' AND entity IN (0, 1)
2023-04-26 18:56:39 DEBUG 94.73.43.12 modExpenseReport::delete_tabs
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_EXPENSEREPORT_TABS_%' AND entity = 1
2023-04-26 18:56:39 DEBUG 94.73.43.12 modExpenseReport::delete_cronjobs
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'expensereport' AND entity = 1 AND test = '1'
2023-04-26 18:56:39 DEBUG 94.73.43.12 modExpenseReport::delete_permissions
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'expensereport' AND entity = 1
2023-04-26 18:56:39 DEBUG 94.73.43.12 modExpenseReport::delete_menus
2023-04-26 18:56:39 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'expensereport' AND entity = 1
2023-04-26 18:56:40 DEBUG 94.73.43.12 modExpenseReport::delete_dirs
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_EXPENSEREPORT_DIR_%' AND entity = 1
2023-04-26 18:56:40 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:40 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:40 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-04-26 18:56:40 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '69', 'chaine', 0, '', 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:40 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:56:40 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:40 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:40 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:40 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:40 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-26 18:56:40 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:40 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-26 18:56:40 INFO 94.73.43.12 Module modWebhook not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 User::loadParentOf
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-04-26 18:56:40 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-04-26 18:56:40 INFO 94.73.43.12 Build childid for id = 1
2023-04-26 18:56:40 INFO 94.73.43.12 Module modDeplacement not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-26 18:56:40 INFO 94.73.43.12 Module modCollab not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 useNPR
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 INFO 94.73.43.12 Module modWorkstation not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 INFO 94.73.43.12 Module modDataPolicy not qualified
2023-04-26 18:56:40 INFO 94.73.43.12 Module modStockTransfer not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-04-26 18:56:40 INFO 94.73.43.12 Module modZapier not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 INFO 94.73.43.12 Module modBookCal not qualified
2023-04-26 18:56:40 INFO 94.73.43.12 Module modAsset not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 useNPR
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:40 INFO 94.73.43.12 Module modFTP not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 INFO 94.73.43.12 Module modIntracommreport not qualified
2023-04-26 18:56:40 INFO 94.73.43.12 Module modDynamicPrices not qualified
2023-04-26 18:56:40 INFO 94.73.43.12 Module modWebServicesClient not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 INFO 94.73.43.12 Module modLabel not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 INFO 94.73.43.12 Module modDocumentGeneration not qualified
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-26 18:56:40 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:40 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:40 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:40 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:56:40 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:56:40 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:40 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:40 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:40 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-26 18:56:50 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:50 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=reset, massaction=
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SOCIETE' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_SOCIETE_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_clients.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_clients.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_prospect.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_prospect.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_contacts.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_contacts.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_activity.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_activity.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_goodcustomers.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_goodcustomers.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'societe' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'societe' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'societe' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSociete::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_SOCIETE_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_EXPEDITION' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_EXPEDITION_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_shipments.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_shipments.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'expedition' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'expedition' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'expedition' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_EXPEDITION_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FACTURE' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_FACTURE_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_factures_imp.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_factures_imp.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_factures.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_factures.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_invoices_permonth.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_invoices_permonth.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_customers_outstanding_bill_reached.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_customers_outstanding_bill_reached.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'facture' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'facture' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'facture' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFacture::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_FACTURE_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modComptabilite::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_COMPTABILITE' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modComptabilite::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_COMPTABILITE_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modComptabilite::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'compta' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modComptabilite::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'compta' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modComptabilite::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'compta' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modComptabilite::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_COMPTABILITE_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_ACCOUNTING' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_ACCOUNTING_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_const
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_COMPANY_CODE_ALWAYS_REQUIRED' AND entity in (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_const
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED' AND entity in (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_accountancy_last_manual_entries.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_accountancy_last_manual_entries.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_accountancy_suspense_account.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_accountancy_suspense_account.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'accounting' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'accounting' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'accounting' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modAccounting::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_ACCOUNTING_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FOURNISSEUR' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_FOURNISSEUR_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_invoices_supplier_permonth.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_invoices_supplier_permonth.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_orders_supplier_permonth.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_orders_supplier_permonth.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_fournisseurs.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_fournisseurs.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_factures_fourn_imp.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_factures_fourn_imp.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_factures_fourn.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_factures_fourn.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_supplier_orders.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_supplier_orders.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_supplier_orders_awaiting_reception.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_supplier_orders_awaiting_reception.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'fournisseur' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'fournisseur' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'fournisseur' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFournisseur::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_FOURNISSEUR_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSupplierProposal::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SUPPLIERPROPOSAL' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSupplierProposal::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_SUPPLIERPROPOSAL_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSupplierProposal::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'supplier_proposal' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSupplierProposal::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'supplier_proposal' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSupplierProposal::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'supplier_proposal' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSupplierProposal::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_SUPPLIERPROPOSAL_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modSupplierProposal::_remove
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'askpricesupplier'
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFicheinter::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FICHEINTER' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFicheinter::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_FICHEINTER_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFicheinter::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_ficheinter.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFicheinter::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_ficheinter.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFicheinter::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'ficheinter' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFicheinter::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'ficheinter' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFicheinter::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'ficheinter' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modFicheinter::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_FICHEINTER_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_PROPALE' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_PROPALE_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_propales_permonth.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_propales_permonth.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_propales.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_propales.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'propale' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'propale' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'propale' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modPropale::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_PROPALE_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_CONTRAT' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_CONTRAT_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_contracts.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_contracts.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_services_expired.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_services_expired.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'contrat' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'contrat' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'contrat' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modContrat::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_CONTRAT_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_COMMANDE' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_COMMANDE_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_commandes.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_commandes.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_orders_permonth.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_orders_permonth.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'commande' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'commande' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'commande' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modCommande::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_COMMANDE_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::_unactive
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_EXPEDITION' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_tabs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_EXPEDITION_TABS_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_shipments.php' AND oe_boxes.entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_boxes
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_shipments.php' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_cronjobs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'expedition' AND entity = 1 AND test = '1'
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_permissions
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'expedition' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_menus
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'expedition' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 modExpedition::delete_dirs
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_EXPEDITION_DIR_%' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '70', 'chaine', 0, '', 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:56:50 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:50 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:50 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:50 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:50 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-26 18:56:50 INFO 94.73.43.12 Module modWebhook not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 User::loadParentOf
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-04-26 18:56:50 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-04-26 18:56:50 INFO 94.73.43.12 Build childid for id = 1
2023-04-26 18:56:50 INFO 94.73.43.12 Module modDeplacement not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-26 18:56:50 INFO 94.73.43.12 Module modCollab not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 useNPR
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 INFO 94.73.43.12 Module modWorkstation not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 INFO 94.73.43.12 Module modDataPolicy not qualified
2023-04-26 18:56:50 INFO 94.73.43.12 Module modStockTransfer not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-04-26 18:56:50 INFO 94.73.43.12 Module modZapier not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 INFO 94.73.43.12 Module modBookCal not qualified
2023-04-26 18:56:50 INFO 94.73.43.12 Module modAsset not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 useNPR
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:50 INFO 94.73.43.12 Module modFTP not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 INFO 94.73.43.12 Module modIntracommreport not qualified
2023-04-26 18:56:50 INFO 94.73.43.12 Module modDynamicPrices not qualified
2023-04-26 18:56:50 INFO 94.73.43.12 Module modWebServicesClient not qualified
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:50 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 INFO 94.73.43.12 Module modLabel not qualified
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 INFO 94.73.43.12 Module modDocumentGeneration not qualified
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-26 18:56:51 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:51 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:51 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:51 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:56:51 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:56:51 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:51 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:51 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:51 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-26 18:56:53 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:53 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=reset, massaction=
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:53 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:53 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:53 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::_unactive
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_TICKET' AND entity IN (0, 1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_tabs
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_TICKET_TABS_%' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_module_parts
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_TICKET_TRIGGERS' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_last_ticket.php' AND oe_boxes.entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_last_ticket.php' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_last_modified_ticket.php' AND oe_boxes.entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_last_modified_ticket.php' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_ticket_by_severity.php' AND oe_boxes.entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_ticket_by_severity.php' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_nb_ticket_last_x_days.php' AND oe_boxes.entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_nb_ticket_last_x_days.php' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_nb_tickets_type.php' AND oe_boxes.entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_nb_tickets_type.php' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_new_vs_close_ticket.php' AND oe_boxes.entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_boxes
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_boxes_def WHERE file = 'box_new_vs_close_ticket.php' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_cronjobs
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'ticket' AND entity = 1 AND test = '1'
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_permissions
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'ticket' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_menus
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'ticket' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 modTicket::delete_dirs
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_TICKET_DIR_%' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:53 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:53 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '71', 'chaine', 0, '', 1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:53 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:56:53 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:53 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:53 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:56:53 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-26 18:56:53 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:56:53 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-26 18:56:53 INFO 94.73.43.12 Module modWebhook not qualified
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:53 DEBUG 94.73.43.12 User::loadParentOf
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-04-26 18:56:53 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-04-26 18:56:53 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-04-26 18:56:53 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-04-26 18:56:53 INFO 94.73.43.12 Build childid for id = 1
2023-04-26 18:56:53 INFO 94.73.43.12 Module modDeplacement not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-26 18:56:54 INFO 94.73.43.12 Module modCollab not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 useNPR
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 INFO 94.73.43.12 Module modWorkstation not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 INFO 94.73.43.12 Module modDataPolicy not qualified
2023-04-26 18:56:54 INFO 94.73.43.12 Module modStockTransfer not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-04-26 18:56:54 INFO 94.73.43.12 Module modZapier not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 INFO 94.73.43.12 Module modBookCal not qualified
2023-04-26 18:56:54 INFO 94.73.43.12 Module modAsset not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 useNPR
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:56:54 INFO 94.73.43.12 Module modFTP not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 INFO 94.73.43.12 Module modIntracommreport not qualified
2023-04-26 18:56:54 INFO 94.73.43.12 Module modDynamicPrices not qualified
2023-04-26 18:56:54 INFO 94.73.43.12 Module modWebServicesClient not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 INFO 94.73.43.12 Module modLabel not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 INFO 94.73.43.12 Module modDocumentGeneration not qualified
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-26 18:56:54 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:54 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:54 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:56:54 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:56:54 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:56:54 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:56:54 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:56:54 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:56:54 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-26 18:57:06 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:57:06 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=reset, massaction=
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:57:06 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:57:06 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-26 18:57:06 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:06 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:57:06 DEBUG 94.73.43.12 modReception::_unactive
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_RECEPTION' AND entity IN (0, 1)
2023-04-26 18:57:06 DEBUG 94.73.43.12 modReception::delete_tabs
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_RECEPTION_TABS_%' AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 modReception::delete_cronjobs
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_cronjob WHERE module_name = 'reception' AND entity = 1 AND test = '1'
2023-04-26 18:57:06 DEBUG 94.73.43.12 modReception::delete_permissions
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_rights_def WHERE module = 'reception' AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 modReception::delete_menus
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_menu WHERE module = 'reception' AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 modReception::delete_dirs
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECEPTION_DIR_%' AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:57:06 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:57:06 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '72', 'chaine', 0, '', 1)
2023-04-26 18:57:06 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:57:06 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:57:06 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:57:06 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:57:06 DEBUG 94.73.43.12 BEGIN Transaction
2023-04-26 18:57:06 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-04-26 18:57:06 DEBUG 94.73.43.12 admin.lib::dolibarr_set_const
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-04-26 18:57:06 DEBUG 94.73.43.12 COMMIT Transaction
2023-04-26 18:57:06 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:06 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-26 18:57:07 INFO 94.73.43.12 Module modWebhook not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 User::loadParentOf
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-04-26 18:57:07 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-04-26 18:57:07 INFO 94.73.43.12 Build childid for id = 1
2023-04-26 18:57:07 INFO 94.73.43.12 Module modDeplacement not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-26 18:57:07 INFO 94.73.43.12 Module modCollab not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 useNPR
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 INFO 94.73.43.12 Module modWorkstation not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 INFO 94.73.43.12 Module modDataPolicy not qualified
2023-04-26 18:57:07 INFO 94.73.43.12 Module modStockTransfer not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-04-26 18:57:07 INFO 94.73.43.12 Module modZapier not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 INFO 94.73.43.12 Module modBookCal not qualified
2023-04-26 18:57:07 INFO 94.73.43.12 Module modAsset not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 useNPR
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 18:57:07 INFO 94.73.43.12 Module modFTP not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 INFO 94.73.43.12 Module modIntracommreport not qualified
2023-04-26 18:57:07 INFO 94.73.43.12 Module modDynamicPrices not qualified
2023-04-26 18:57:07 INFO 94.73.43.12 Module modWebServicesClient not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 INFO 94.73.43.12 Module modLabel not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 INFO 94.73.43.12 Module modDocumentGeneration not qualified
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-26 18:57:07 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:57:07 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:57:07 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 18:57:07 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-04-26 18:57:07 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-04-26 18:57:07 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 18:57:07 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 18:57:07 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 18:57:07 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-04-26 19:13:19 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 19:13:19 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 19:13:19 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 19:13:20 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 19:13:20 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 19:13:20 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 19:13:20 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 19:13:20 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 19:13:20 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-04-26 19:13:20 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 19:13:20 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 19:13:20 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/index.php
2023-04-26 19:13:29 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 19:13:29 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 19:13:29 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 19:13:29 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 19:13:29 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 19:13:29 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 19:13:29 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 19:13:29 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 19:13:29 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-04-26 19:13:29 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 19:13:29 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 19:13:29 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/index.php
2023-04-26 19:13:32 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-04-26 19:13:32 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-04-26 19:13:32 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-04-26 19:13:32 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-04-26 19:13:32 INFO 94.73.43.12 Module modWebhook not qualified
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 User::loadParentOf
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-04-26 19:13:32 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-04-26 19:13:32 INFO 94.73.43.12 Build childid for id = 1
2023-04-26 19:13:32 INFO 94.73.43.12 Module modDeplacement not qualified
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-04-26 19:13:32 INFO 94.73.43.12 Module modCollab not qualified
2023-04-26 19:13:32 DEBUG 94.73.43.12 useNPR
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 INFO 94.73.43.12 Module modWorkstation not qualified
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-04-26 19:13:32 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 INFO 94.73.43.12 Module modDataPolicy not qualified
2023-04-26 19:13:33 INFO 94.73.43.12 Module modStockTransfer not qualified
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-04-26 19:13:33 INFO 94.73.43.12 Module modZapier not qualified
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 INFO 94.73.43.12 Module modBookCal not qualified
2023-04-26 19:13:33 INFO 94.73.43.12 Module modAsset not qualified
2023-04-26 19:13:33 DEBUG 94.73.43.12 useNPR
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-04-26 19:13:33 INFO 94.73.43.12 Module modFTP not qualified
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 INFO 94.73.43.12 Module modIntracommreport not qualified
2023-04-26 19:13:33 INFO 94.73.43.12 Module modDynamicPrices not qualified
2023-04-26 19:13:33 INFO 94.73.43.12 Module modWebServicesClient not qualified
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 INFO 94.73.43.12 Module modLabel not qualified
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 INFO 94.73.43.12 Module modDocumentGeneration not qualified
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-04-26 19:13:33 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-04-26 19:13:33 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 19:13:33 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 19:13:33 INFO 94.73.43.12 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-04-26 19:13:33 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/modules.php
2023-05-01 14:43:00 DEBUG 94.73.43.12 NEW TOKEN generated by : /admin/htdocs/index.php
2023-05-01 14:43:00 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-05-01 14:43:00 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:00 INFO 94.73.43.12 --- End access to /admin/htdocs/index.php
2023-05-01 14:43:00 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:00 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-01 14:43:00 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:00 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:00 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:00 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-01 14:43:00 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:00 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-01 14:43:00 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:00 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:00 INFO 94.73.43.12 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-05-01 14:43:00 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:00 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-01 14:43:00 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:00 INFO 94.73.43.12 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-05-01 14:43:00 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-01 14:43:00 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-05-01 14:43:00 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:00 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-05-01 14:43:02 INFO 94.73.43.12 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-01 14:43:02 INFO 94.73.43.12 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-05-01 14:43:02 DEBUG 94.73.43.12 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-01 14:43:02 NOTICE 94.73.43.12 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-05-01 14:43:03 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:03 DEBUG 94.73.43.12 Bad password, connexion refused
2023-05-01 14:43:03 INFO 94.73.43.12 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-05-01 14:43:03 DEBUG 94.73.43.12 Events::create
2023-05-01 14:43:03 DEBUG 94.73.43.12 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.43.12', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-01 16:43:03', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-01 14:43:04 NOTICE 94.73.43.12 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-05-01 14:43:04 INFO 94.73.43.12 --- End access to /admin/htdocs/index.php
2023-05-01 14:43:04 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:04 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-01 14:43:04 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:04 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:04 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:04 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-01 14:43:13 INFO 94.73.43.12 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-01 14:43:13 INFO 94.73.43.12 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-01 14:43:13 INFO 94.73.43.12 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:13 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:13 INFO 94.73.43.12 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-01 14:43:13 DEBUG 94.73.43.12 BEGIN Transaction
2023-05-01 14:43:13 DEBUG 94.73.43.12 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-01 16:43:13', iplastlogin = '94.73.43.12', tms = tms WHERE rowid = 1
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-01 16:43:13', iplastlogin = '94.73.43.12', tms = tms WHERE rowid = 1
2023-05-01 14:43:13 INFO 94.73.43.12 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:13 DEBUG 94.73.43.12 Events::create
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.43.12', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-01 16:43:13', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1806x835', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-01 14:43:13 DEBUG 94.73.43.12 COMMIT Transaction
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:13 NOTICE 94.73.43.12 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:13 DEBUG 94.73.43.12 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-01 14:43:13 INFO 94.73.43.12 box_lastlogin::showBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 box_birthdays::loadBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-01 14:43:13 INFO 94.73.43.12 box_birthdays::showBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-01 14:43:13 INFO 94.73.43.12 box_dolibarr_state_board::showBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 box_actions::loadBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 AND (a.fk_soc IS NULL OR sc.fk_user = 1) ORDER BY a.datep ASC LIMIT 5
2023-05-01 14:43:13 INFO 94.73.43.12 box_actions::showBox
2023-05-01 14:43:13 INFO 94.73.43.12 ModeleBoxes::showBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 box_comptes::loadBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-01 14:43:13 INFO 94.73.43.12 box_comptes::showBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-01 14:43:13 INFO 94.73.43.12 box_produits::showBox
2023-05-01 14:43:13 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-01 14:43:13 INFO 94.73.43.12 box_produits_alerte_stock::showBox
2023-05-01 14:43:13 INFO 94.73.43.12 ModeleBoxes::showBox
2023-05-01 14:43:14 DEBUG 94.73.43.12 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1) AND (a.fk_soc IS NULL OR sc.fk_user = 1)
2023-05-01 14:43:14 DEBUG 94.73.43.12 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-01 14:43:14 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-01 14:43:14 INFO 94.73.43.12 --- End access to /admin/htdocs/index.php
2023-05-01 14:43:16 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-01 14:43:16 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:16 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:16 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-01 14:43:16 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-01 14:43:16 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:16 INFO 94.73.43.12 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-05-01 14:43:16 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:16 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:16 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:16 INFO 94.73.43.12 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-05-01 14:43:16 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-01 14:43:16 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-05-01 14:43:16 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:16 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:16 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:16 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:16 INFO 94.73.43.12 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-05-01 14:43:16 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-01 14:43:16 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-05-01 14:43:19 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:43:19 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:19 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:19 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:19 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:19 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:19 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:19 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:19 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-05-01 14:43:19 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:19 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:19 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/index.php
2023-05-01 14:43:20 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-01 14:43:20 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:20 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:20 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:20 INFO 94.73.43.12 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-01 14:43:25 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:25 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:25 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/security_other.php - action=, massaction=
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:25 DEBUG 94.73.43.12 sql=SELECT COUNT(r.id) as nb FROM oe_rights_def as r WHERE r.libelle NOT LIKE 'tou%' AND entity = 1 AND bydefault = 1 AND r.perms NOT LIKE '%_advance'
2023-05-01 14:43:25 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/security_other.php
2023-05-01 14:43:30 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:30 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/perms.php - action=, massaction=
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:30 DEBUG 94.73.43.12 BEGIN Transaction
2023-05-01 14:43:30 DEBUG 94.73.43.12 modFckeditor::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_FCKEDITOR' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modIncoterm::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_INCOTERM' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modPartnership::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PARTNERSHIP' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modProductBatch::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PRODUCTBATCH' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modComptabilite::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_COMPTABILITE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modCron::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_CRON' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modOauth::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_OAUTH' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modPropale::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PROPALE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modTakePos::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_TAKEPOS' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modTicket::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_TICKET' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modWebhook::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_WEBHOOK' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modImport::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_IMPORT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modCommande::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_COMMANDE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modBom::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_BOM' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modContrat::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_CONTRAT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modStripe::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_STRIPE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modUser::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_USER' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 251 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 252 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 253 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 254 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 255 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 256 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 341 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 342 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 343 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 344 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 351 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 352 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 353 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 354 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 358 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modCategorie::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_CATEGORIE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 241 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 242 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 243 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modECM::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_ECM' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2501 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2503 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2515 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modWorkflow::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_WORKFLOW' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 User::loadParentOf
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-05-01 14:43:30 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-05-01 14:43:30 INFO 94.73.43.12 Build childid for id = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modDeplacement::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_DEPLACEMENT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modFicheinter::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_FICHEINTER' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modPrinting::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PRINTING' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modFournisseur::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_FOURNISSEUR' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modTax::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_TAX' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 91 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 92 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 93 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 94 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modCollab::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_COLLAB' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modWebServices::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_WEBSERVICES' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modClickToDial::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_CLICKTODIAL' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modMailmanSpip::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_MAILMANSPIP' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modEventOrganization::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EVENTORGANIZATION' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modMailing::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_MAILING' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modDon::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_DON' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modPrelevement::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PRELEVEMENT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 151 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 152 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 153 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 154 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modAccounting::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_ACCOUNTING' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 useNPR
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-01 14:43:30 DEBUG 94.73.43.12 modProduct::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PRODUCT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 31 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 32 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 33 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 34 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 38 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 39 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modReceiptPrinter::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_RECEIPTPRINTER' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modStock::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_STOCK' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1001 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1002 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1003 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1004 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1005 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1011 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1012 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modMultiCurrency::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_MULTICURRENCY' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modHRM::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_HRM' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modWorkstation::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_WORKSTATION' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modProjet::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PROJET' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modGeoIPMaxmind::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_GEOIPMAXMIND' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modAgenda::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_AGENDA' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2401 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2402 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2403 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2411 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2412 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2413 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2414 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modDataPolicy::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_DATAPOLICY' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modOpenSurvey::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_OPENSURVEY' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modWebsite::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_WEBSITE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modStockTransfer::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_STOCKTRANSFER' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modLdap::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_LDAP' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modPaymentByBankTransfer::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PAYMENTBYBANKTRANSFER' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 561 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 562 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 563 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 564 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modAdherent::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_ADHERENT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modApi::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_API' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 2610 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modZapier::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_ZAPIER' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modSyslog::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_SYSLOG' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modHoliday::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_HOLIDAY' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modBookCal::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_BOOKCAL' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modSalaries::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_SALARIES' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 511 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 512 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 514 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 517 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 519 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modPayBox::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PAYBOX' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modExternalRss::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EXTERNALRSS' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modAsset::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_ASSET' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 useNPR
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-01 14:43:30 DEBUG 94.73.43.12 modService::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_SERVICE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 531 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 532 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 533 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 534 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 538 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modFTP::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_FTP' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modExpedition::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EXPEDITION' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modExternalSite::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EXTERNALSITE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modIntracommreport::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_INTRACOMMREPORT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modBlockedLog::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_BLOCKEDLOG' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 3201 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modMargin::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_MARGIN' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 59001 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 59002 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 59003 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modDynamicPrices::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_DYNAMICPRICES' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modWebServicesClient::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_WEBSERVICESCLIENT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modFacture::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_FACTURE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modSupplierProposal::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_SUPPLIERPROPOSAL' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modModuleBuilder::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_MODULEBUILDER' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modExpenseReport::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EXPENSEREPORT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modPaypal::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PAYPAL' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modLabel::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_LABEL' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modResource::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_RESOURCE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 63001 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 63002 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 63003 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 63004 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modLoan::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_LOAN' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modBarcode::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_BARCODE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 301 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 304 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 305 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 modReception::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_RECEPTION' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modDocumentGeneration::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_DOCUMENTGENERATION' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modBanque::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_BANQUE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 111 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 112 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 113 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 114 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 115 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 116 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 117 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modRecruitment::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_RECRUITMENT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modVariants::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_VARIANTS' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 610 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 611 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 612 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modMrp::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_MRP' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modKnowledgeManagement::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_KNOWLEDGEMANAGEMENT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modNotification::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_NOTIFICATION' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modSociete::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_SOCIETE' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modDav::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_DAV' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modEmailCollector::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EMAILCOLLECTOR' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modExport::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EXPORT' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1201 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1202 AND entity = 1
2023-05-01 14:43:30 DEBUG 94.73.43.12 modBookmark::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_BOOKMARK' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modDebugBar::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_DEBUGBAR' AND entity IN (0,1)
2023-05-01 14:43:30 DEBUG 94.73.43.12 modGravatar::insert_permissions
2023-05-01 14:43:30 DEBUG 94.73.43.12 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_GRAVATAR' AND entity IN (0,1)
2023-05-01 14:43:31 DEBUG 94.73.43.12 COMMIT Transaction
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=SELECT COUNT(r.id) as nb FROM oe_rights_def as r WHERE r.libelle NOT LIKE 'tou%' AND entity = 1 AND bydefault = 1 AND r.perms NOT LIKE '%_advance'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=SELECT r.id, r.libelle as label, r.module, r.perms, r.subperms, r.module_position, r.bydefault FROM oe_rights_def as r WHERE r.libelle NOT LIKE 'tou%' AND r.entity = 1 AND r.perms NOT LIKE '%_advance' ORDER BY r.family_position, r.module_position, r.module, r.id
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 15, family_position = 0 WHERE module_position = 0 AND module = 'agenda'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 15, family_position = 0 WHERE module_position = 0 AND module = 'agenda'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 15, family_position = 0 WHERE module_position = 0 AND module = 'agenda'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 15, family_position = 0 WHERE module_position = 0 AND module = 'agenda'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 15, family_position = 0 WHERE module_position = 0 AND module = 'agenda'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 15, family_position = 0 WHERE module_position = 0 AND module = 'agenda'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 15, family_position = 0 WHERE module_position = 0 AND module = 'agenda'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 24, family_position = 0 WHERE module_position = 0 AND module = 'api'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 51, family_position = 0 WHERE module_position = 0 AND module = 'banque'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 51, family_position = 0 WHERE module_position = 0 AND module = 'banque'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 51, family_position = 0 WHERE module_position = 0 AND module = 'banque'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 51, family_position = 0 WHERE module_position = 0 AND module = 'banque'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 51, family_position = 0 WHERE module_position = 0 AND module = 'banque'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 51, family_position = 0 WHERE module_position = 0 AND module = 'banque'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 51, family_position = 0 WHERE module_position = 0 AND module = 'banque'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'barcode'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 76, family_position = 0 WHERE module_position = 0 AND module = 'blockedlog'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 20, family_position = 0 WHERE module_position = 0 AND module = 'categorie'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 20, family_position = 0 WHERE module_position = 0 AND module = 'categorie'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 20, family_position = 0 WHERE module_position = 0 AND module = 'categorie'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 10, family_position = 0 WHERE module_position = 0 AND module = 'ecm'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 10, family_position = 0 WHERE module_position = 0 AND module = 'ecm'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 10, family_position = 0 WHERE module_position = 0 AND module = 'ecm'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 72, family_position = 0 WHERE module_position = 0 AND module = 'export'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 72, family_position = 0 WHERE module_position = 0 AND module = 'export'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 55, family_position = 0 WHERE module_position = 0 AND module = 'margins'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 55, family_position = 0 WHERE module_position = 0 AND module = 'margins'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 55, family_position = 0 WHERE module_position = 0 AND module = 'margins'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 52, family_position = 0 WHERE module_position = 0 AND module = 'paymentbybanktransfer'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 52, family_position = 0 WHERE module_position = 0 AND module = 'paymentbybanktransfer'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 52, family_position = 0 WHERE module_position = 0 AND module = 'paymentbybanktransfer'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 52, family_position = 0 WHERE module_position = 0 AND module = 'paymentbybanktransfer'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 52, family_position = 0 WHERE module_position = 0 AND module = 'prelevement'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 52, family_position = 0 WHERE module_position = 0 AND module = 'prelevement'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 52, family_position = 0 WHERE module_position = 0 AND module = 'prelevement'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 52, family_position = 0 WHERE module_position = 0 AND module = 'prelevement'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 26, family_position = 0 WHERE module_position = 0 AND module = 'produit'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 26, family_position = 0 WHERE module_position = 0 AND module = 'produit'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 26, family_position = 0 WHERE module_position = 0 AND module = 'produit'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 26, family_position = 0 WHERE module_position = 0 AND module = 'produit'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 16, family_position = 0 WHERE module_position = 0 AND module = 'resource'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 16, family_position = 0 WHERE module_position = 0 AND module = 'resource'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 16, family_position = 0 WHERE module_position = 0 AND module = 'resource'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 16, family_position = 0 WHERE module_position = 0 AND module = 'resource'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'salaries'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'salaries'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'salaries'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'salaries'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'salaries'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 29, family_position = 0 WHERE module_position = 0 AND module = 'service'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 29, family_position = 0 WHERE module_position = 0 AND module = 'service'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 29, family_position = 0 WHERE module_position = 0 AND module = 'service'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 29, family_position = 0 WHERE module_position = 0 AND module = 'service'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 39, family_position = 0 WHERE module_position = 0 AND module = 'stock'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 39, family_position = 0 WHERE module_position = 0 AND module = 'stock'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 39, family_position = 0 WHERE module_position = 0 AND module = 'stock'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 39, family_position = 0 WHERE module_position = 0 AND module = 'stock'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 39, family_position = 0 WHERE module_position = 0 AND module = 'stock'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'tax'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'tax'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'tax'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'tax'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 5, family_position = 0 WHERE module_position = 0 AND module = 'user'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 5, family_position = 0 WHERE module_position = 0 AND module = 'user'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 5, family_position = 0 WHERE module_position = 0 AND module = 'user'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 5, family_position = 0 WHERE module_position = 0 AND module = 'user'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 5, family_position = 0 WHERE module_position = 0 AND module = 'user'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 5, family_position = 0 WHERE module_position = 0 AND module = 'user'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 5, family_position = 0 WHERE module_position = 0 AND module = 'user'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'variants'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'variants'
2023-05-01 14:43:31 DEBUG 94.73.43.12 sql=UPDATE oe_rights_def SET module_position = 50, family_position = 0 WHERE module_position = 0 AND module = 'variants'
2023-05-01 14:43:31 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/perms.php
2023-05-01 14:43:40 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:40 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:40 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/const.php - action=, massaction=
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:40 DEBUG 94.73.43.12 Const::listConstant
2023-05-01 14:43:40 DEBUG 94.73.43.12 sql=SELECT rowid, name as name, value as value, type, note, tms, entity FROM oe_const WHERE entity IN (0,1) AND visible = 1 ORDER BY entity ASC, name ASC
2023-05-01 14:43:40 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/const.php
2023-05-01 14:43:43 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:43:43 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:43:43 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:43:43 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:43:43 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:43:43 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:43:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:43:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:43:43 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-01 14:43:43 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:43:43 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:43:43 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-01 14:53:27 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:53:27 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:53:27 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:53:27 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:53:27 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:53:27 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:53:27 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:53:27 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:53:27 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/listsessions.php - action=, massaction=
2023-05-01 14:53:27 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:53:27 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:53:27 INFO 94.73.43.12 admin.lib:listOfSessions sessPath=/tmp/
2023-05-01 14:53:27 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/listsessions.php
2023-05-01 14:53:47 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:53:47 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:53:47 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/listevents.php - action=, massaction=
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:53:47 DEBUG 94.73.43.12 sql=SELECT e.rowid, e.type, e.ip, e.user_agent, e.dateevent, e.fk_user, e.description, e.prefix_session, u.login, u.admin, u.entity, u.firstname, u.lastname, u.statut as status FROM oe_events as e LEFT JOIN oe_user as u ON u.rowid = e.fk_user WHERE e.entity IN (1) AND e.dateevent >= '2023-05-01 00:00:00' AND e.dateevent <= '2023-05-31 23:59:59' ORDER BY dateevent DESC LIMIT 21
2023-05-01 14:53:47 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/listevents.php
2023-05-01 14:55:14 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:55:14 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:55:14 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:55:14 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:55:14 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:55:14 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:55:14 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:55:14 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:55:14 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-05-01 14:55:14 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:55:14 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:55:14 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/index.php
2023-05-01 14:55:16 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:55:16 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:55:16 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/security_other.php - action=, massaction=
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:55:16 DEBUG 94.73.43.12 sql=SELECT COUNT(r.id) as nb FROM oe_rights_def as r WHERE r.libelle NOT LIKE 'tou%' AND entity = 1 AND bydefault = 1 AND r.perms NOT LIKE '%_advance'
2023-05-01 14:55:16 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/security_other.php
2023-05-01 14:55:19 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:55:19 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:55:19 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/events.php - action=, massaction=
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:55:19 DEBUG 94.73.43.12 sql=SELECT COUNT(r.id) as nb FROM oe_rights_def as r WHERE r.libelle NOT LIKE 'tou%' AND entity = 1 AND bydefault = 1 AND r.perms NOT LIKE '%_advance'
2023-05-01 14:55:19 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/events.php
2023-05-01 14:55:56 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:55:56 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:55:56 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:55:56 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:55:56 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:55:56 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:55:56 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:55:56 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:55:56 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-01 14:55:56 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:55:56 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:55:56 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-01 14:56:02 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:56:02 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:56:02 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/listevents.php - action=, massaction=
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:56:02 DEBUG 94.73.43.12 sql=SELECT e.rowid, e.type, e.ip, e.user_agent, e.dateevent, e.fk_user, e.description, e.prefix_session, u.login, u.admin, u.entity, u.firstname, u.lastname, u.statut as status FROM oe_events as e LEFT JOIN oe_user as u ON u.rowid = e.fk_user WHERE e.entity IN (1) AND e.dateevent >= '2023-05-01 00:00:00' AND e.dateevent <= '2023-05-31 23:59:59' ORDER BY dateevent DESC LIMIT 21
2023-05-01 14:56:02 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/listevents.php
2023-05-01 14:56:06 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:56:06 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:56:06 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:56:06 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:56:06 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:56:06 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:56:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:56:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:56:06 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/listevents.php - action=, massaction=
2023-05-01 14:56:06 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:56:06 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:56:07 DEBUG 94.73.43.12 sql=SELECT e.rowid, e.type, e.ip, e.user_agent, e.dateevent, e.fk_user, e.description, e.prefix_session, u.login, u.admin, u.entity, u.firstname, u.lastname, u.statut as status FROM oe_events as e LEFT JOIN oe_user as u ON u.rowid = e.fk_user WHERE e.entity IN (1) AND e.dateevent >= '2023-05-01 00:00:00' AND e.dateevent <= '2023-05-31 23:59:59' ORDER BY dateevent DESC LIMIT 21
2023-05-01 14:56:07 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/listevents.php
2023-05-01 14:56:54 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:56:54 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:56:54 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:56:54 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:56:54 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:56:54 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:56:54 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:56:54 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:56:54 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/user/logout.php - action=, massaction=
2023-05-01 14:56:54 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:56:54 INFO 94.73.43.12 End of session f7ddcf192144ddb44755be1d6766c7e9
2023-05-01 14:56:54 INFO 94.73.43.12 --- End access to /admin/htdocs/user/logout.php
2023-05-01 14:56:54 DEBUG 94.73.43.12 NEW TOKEN generated by : /admin/htdocs/index.php
2023-05-01 14:56:54 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-05-01 14:56:54 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:56:54 INFO 94.73.43.12 --- End access to /admin/htdocs/index.php
2023-05-01 14:56:55 INFO 94.73.43.12 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-01 14:56:55 INFO 94.73.43.12 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-01 14:56:55 DEBUG 94.73.43.12 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-01 14:56:55 INFO 94.73.43.12 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-01 14:56:55 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:56:55 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:56:55 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:56:55 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:56:55 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:56:55 INFO 94.73.43.12 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-01 14:56:55 DEBUG 94.73.43.12 BEGIN Transaction
2023-05-01 14:56:55 DEBUG 94.73.43.12 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-01 16:56:55', iplastlogin = '94.73.43.12', tms = tms WHERE rowid = 1
2023-05-01 14:56:55 DEBUG 94.73.43.12 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-01 16:56:55', iplastlogin = '94.73.43.12', tms = tms WHERE rowid = 1
2023-05-01 14:56:55 INFO 94.73.43.12 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-01 14:56:55 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:56:55 DEBUG 94.73.43.12 Events::create
2023-05-01 14:56:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.43.12', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-01 16:56:55', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1796x833', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-01 14:56:56 DEBUG 94.73.43.12 COMMIT Transaction
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:56:56 NOTICE 94.73.43.12 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:56:56 DEBUG 94.73.43.12 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-01 14:56:56 INFO 94.73.43.12 box_lastlogin::showBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 box_birthdays::loadBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-01 14:56:56 INFO 94.73.43.12 box_birthdays::showBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-01 14:56:56 INFO 94.73.43.12 box_dolibarr_state_board::showBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 box_actions::loadBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 AND (a.fk_soc IS NULL OR sc.fk_user = 1) ORDER BY a.datep ASC LIMIT 5
2023-05-01 14:56:56 INFO 94.73.43.12 box_actions::showBox
2023-05-01 14:56:56 INFO 94.73.43.12 ModeleBoxes::showBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 box_comptes::loadBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-01 14:56:56 INFO 94.73.43.12 box_comptes::showBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-01 14:56:56 INFO 94.73.43.12 box_produits::showBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-01 14:56:56 INFO 94.73.43.12 box_produits_alerte_stock::showBox
2023-05-01 14:56:56 INFO 94.73.43.12 ModeleBoxes::showBox
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1) AND (a.fk_soc IS NULL OR sc.fk_user = 1)
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-01 14:56:56 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-01 14:56:56 INFO 94.73.43.12 --- End access to /admin/htdocs/index.php
2023-05-01 14:59:24 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:59:24 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:59:24 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:59:24 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:59:24 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:59:24 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:59:24 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:59:24 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:59:24 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-01 14:59:24 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:59:24 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:59:24 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-01 14:59:26 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 14:59:26 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 14:59:26 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/tools/listevents.php - action=, massaction=
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 14:59:26 DEBUG 94.73.43.12 sql=SELECT e.rowid, e.type, e.ip, e.user_agent, e.dateevent, e.fk_user, e.description, e.prefix_session, u.login, u.admin, u.entity, u.firstname, u.lastname, u.statut as status FROM oe_events as e LEFT JOIN oe_user as u ON u.rowid = e.fk_user WHERE e.entity IN (1) AND e.dateevent >= '2023-05-01 00:00:00' AND e.dateevent <= '2023-05-31 23:59:59' ORDER BY dateevent DESC LIMIT 21
2023-05-01 14:59:26 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/tools/listevents.php
2023-05-01 15:56:13 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 15:56:13 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 15:56:13 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 15:56:13 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 15:56:13 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 15:56:13 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 15:56:13 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 15:56:13 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 15:56:13 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-05-01 15:56:13 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 15:56:13 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 15:56:13 INFO 94.73.43.12 --- End access to /admin/htdocs/admin/index.php
2023-05-01 15:56:14 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 15:56:14 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 15:56:14 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 15:56:14 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 15:56:14 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 15:56:14 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 15:56:14 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 15:56:14 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 15:56:14 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 15:56:14 INFO 94.73.43.12 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-05-01 15:56:14 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-01 15:56:14 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-05-01 16:35:05 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:05 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:05 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 16:35:05 DEBUG 94.73.43.12 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-01 16:35:05 INFO 94.73.43.12 box_lastlogin::showBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 box_birthdays::loadBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-01 16:35:05 INFO 94.73.43.12 box_birthdays::showBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-01 16:35:05 INFO 94.73.43.12 box_dolibarr_state_board::showBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 box_actions::loadBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 AND (a.fk_soc IS NULL OR sc.fk_user = 1) ORDER BY a.datep ASC LIMIT 5
2023-05-01 16:35:05 INFO 94.73.43.12 box_actions::showBox
2023-05-01 16:35:05 INFO 94.73.43.12 ModeleBoxes::showBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 box_comptes::loadBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-01 16:35:05 INFO 94.73.43.12 box_comptes::showBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-01 16:35:05 INFO 94.73.43.12 box_produits::showBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-01 16:35:05 INFO 94.73.43.12 box_produits_alerte_stock::showBox
2023-05-01 16:35:05 INFO 94.73.43.12 ModeleBoxes::showBox
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1) AND (a.fk_soc IS NULL OR sc.fk_user = 1)
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-01 16:35:05 INFO 94.73.43.12 --- End access to /admin/htdocs/index.php
2023-05-01 16:35:05 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:05 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:06 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:06 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:06 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:06 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:06 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:06 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-01 16:35:06 INFO 94.73.43.12 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-05-01 16:35:06 INFO 94.73.43.12 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-01 16:35:06 INFO 94.73.43.12 --- End access to /admin/htdocs/viewimage.php
2023-05-01 16:35:08 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:08 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:08 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/user/home.php - action=, massaction=
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 16:35:08 DEBUG 94.73.43.12 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 1 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.lastname, u.firstname, u.admin, u.login, u.fk_soc, u.datec, u.statut, u.entity, u.ldap_sid, u.photo, u.admin, u.email, s.nom as name, s.code_client, s.canvas FROM oe_user as u LEFT JOIN oe_societe as s ON u.fk_soc = s.rowid WHERE u.entity IN (0,1) ORDER BY u.datec DESC LIMIT 10
2023-05-01 16:35:08 DEBUG 94.73.43.12 sql=SELECT g.rowid, g.nom as name, g.note, g.entity, g.datec FROM oe_usergroup as g WHERE g.entity IN (0, 1) ORDER BY g.datec DESC LIMIT 5
2023-05-01 16:35:08 INFO 94.73.43.12 --- End access to /admin/htdocs/user/home.php
2023-05-01 16:35:12 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:12 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:12 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/user/card.php - action=create, massaction=
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 16:35:12 DEBUG 94.73.43.12 User::loadParentOf
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-01 16:35:12 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-01 16:35:12 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-05-01 16:35:12 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-05-01 16:35:12 INFO 94.73.43.12 Build childid for id = 1
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-01 16:35:12 DEBUG 94.73.43.12 Form::select_civility
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT rowid, code, label, active FROM oe_c_civility WHERE active = 1
2023-05-01 16:35:12 DEBUG 94.73.43.12 Form::select_dolusers
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-01 16:35:12 DEBUG 94.73.43.12 Form::select_country
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-01 16:35:12 DEBUG 94.73.43.12 FormCompany::select_departement selected=, country_codeid=
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-05-01 16:35:12 DEBUG 94.73.43.12 FormCompany::select_departement num=1737
2023-05-01 16:35:12 DEBUG 94.73.43.12 Categorie::load_motherof
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-01 16:35:12 DEBUG 94.73.43.12 Categorie::get_full_arbo get category list
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 7
2023-05-01 16:35:12 DEBUG 94.73.43.12 Categorie::get_full_arbo call to buildPathFromId
2023-05-01 16:35:12 DEBUG 94.73.43.12 Categorie::get_full_arbo dol_sort_array
2023-05-01 16:35:12 INFO 94.73.43.12 DolEditor::DolEditor htmlname=signature width= height=138 toolbarname=dolibarr_notes
2023-05-01 16:35:12 INFO 94.73.43.12 DolEditor::DolEditor htmlname=note_public width= height=100 toolbarname=dolibarr_notes
2023-05-01 16:35:12 INFO 94.73.43.12 DolEditor::DolEditor htmlname=note_private width= height=100 toolbarname=dolibarr_notes
2023-05-01 16:35:12 DEBUG 94.73.43.12 Translate::loadCacheCurrencies
2023-05-01 16:35:12 DEBUG 94.73.43.12 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-05-01 16:35:12 INFO 94.73.43.12 --- End access to /admin/htdocs/user/card.php
2023-05-01 16:35:43 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:43 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:43 NOTICE 94.73.43.12 --- Access to POST /admin/htdocs/user/card.php - action=add, massaction=
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::loadParentOf
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-05-01 16:35:43 INFO 94.73.43.12 Build childid for id = 1
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-01 16:35:43 DEBUG 94.73.43.12 BEGIN Transaction
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::create login=javier, user=1
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT COUNT(*) as nb FROM oe_user WHERE entity IN (1, 0) AND login = 'javier'
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=INSERT INTO oe_user (datec, login, ldap_sid, entity) VALUES('2023-05-01 18:35:43', 'javier', '', 1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::create
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT id FROM oe_rights_def WHERE bydefault = 1 AND entity = 1
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=DELETE FROM oe_user_rights WHERE fk_user = 2 AND fk_id=301
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=INSERT INTO oe_user_rights (fk_user, fk_id) VALUES (2, 301)
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=DELETE FROM oe_user_rights WHERE fk_user = 2 AND fk_id=304
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=INSERT INTO oe_user_rights (fk_user, fk_id) VALUES (2, 304)
2023-05-01 16:35:43 INFO 94.73.43.12 User::update notrigger=1, nosyncmember=1, nosyncmemberpass=0
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::update
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=UPDATE oe_user SET civility = '', lastname = 'javier', firstname = 'javier', ref_employee = '', national_registration_number = '', employee = 1, login = 'javier', api_key = null, gender = null, birth=null, admin = 0, address = '', zip = '', town = '', fk_state = null, fk_country = null, office_phone = '', office_fax = '', user_mobile = '', personal_mobile = '', email = '', personal_email = '', socialnetworks = 'null', job = '', signature = '', accountancy_code = '', color = '', dateemployment=null, dateemploymentend=null, datestartvalidity=null, dateendvalidity=null, note_private = '', note_public = '', photo = null, openid = null, fk_user = null, fk_user_expense_validator = null, fk_user_holiday_validator = null, thm= null, tjm= null, salary= null, salaryextra= null, weeklyhours= null, entity = 1, default_range = null, default_c_exp_tax_cat = null, fk_warehouse = null, lang = null WHERE rowid = 2
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::update set link with member
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=UPDATE oe_user SET fk_member =null where rowid = 2
2023-05-01 16:35:43 INFO 94.73.43.12 Trigger 'ActionsAuto' for action 'USER_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=2
2023-05-01 16:35:43 DEBUG 94.73.43.12 CActionComm::fetch
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-05-01 16:35:43 DEBUG 94.73.43.12 ActionComm::add
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-05-01 18:35:43', '2023-05-01 18:35:43', '2023-05-01 18:35:43', null, 40,'AC_USER_CREATE', null, null, null, 'Registro creado', null, 1, 1, null, 'Registro creado', '-1', '0', '0', '', '0', 2, 'user', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=UPDATE oe_actioncomm SET ref='2' WHERE id=2
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(2, 'user', 1, 0, 0, 0)
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::setPassword user=1 password=************ changelater=0 notrigger=0 nosyncmember=0
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::setPassword
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=UPDATE oe_user SET pass_crypted = '$2y$10$kRuzdVB2wm4.apAc6nr4dud.DaEowM2wy56qbXT4AJStOnTEGq7AW', pass_temp = null, pass = null WHERE rowid = 2
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::setPassword notrigger=0 error=0
2023-05-01 16:35:43 INFO 94.73.43.12 Trigger 'Logevents' for action 'USER_NEW_PASSWORD' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=2
2023-05-01 16:35:43 DEBUG 94.73.43.12 Events::create
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_NEW_PASSWORD', 1, '94.73.43.12', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-01 18:35:43', 1, 'Passord cambiado para javier', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-01 16:35:43 INFO 94.73.43.12 Trigger 'ActionsAuto' for action 'USER_NEW_PASSWORD' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=2
2023-05-01 16:35:43 DEBUG 94.73.43.12 CActionComm::fetch
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-05-01 16:35:43 DEBUG 94.73.43.12 ActionComm::add
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-05-01 18:35:43', '2023-05-01 18:35:43', '2023-05-01 18:35:43', null, 40,'AC_USER_NEW_PASSWORD', null, null, null, 'Contraseña modificada en Dolibarr', null, 1, 1, null, 'Contraseña modificada en Dolibarr', '-1', '0', '0', '', '0', 2, 'user', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=UPDATE oe_actioncomm SET ref='3' WHERE id=3
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(3, 'user', 1, 0, 0, 0)
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::setCategoriesCommon Oject Id:2 type_categ:user nb tag add:0
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_user as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_user = 2 AND c.entity IN (1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 COMMIT Transaction
2023-05-01 16:35:43 INFO 94.73.43.12 --- End access to /admin/htdocs/user/card.php
2023-05-01 16:35:43 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:43 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:43 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/user/card.php - action=, massaction=
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::loadParentOf
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-05-01 16:35:43 INFO 94.73.43.12 Build childid for id = 1
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT COUNT(dbt.rowid) as nb FROM oe_user as dbt WHERE dbt.rowid IN (2) AND dbt.entity IN (0,1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 2 ORDER BY u.entity ASC
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 2 AND entity = 1
2023-05-01 16:35:43 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,2) AND entity IN (1,1))
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 2 AND r.perms IS NOT NULL
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 2 AND r.perms IS NOT NULL
2023-05-01 16:35:43 INFO 94.73.43.12 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/users/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'user' AND objectid = 2 AND entity = 1
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT MAX(te.rowid) FROM oe_user as te WHERE te.rowid < '2' AND te.entity IN (0,1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT MIN(te.rowid) FROM oe_user as te WHERE te.rowid > '2' AND te.entity IN (0,1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_user as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_user = 2 AND c.entity IN (1)
2023-05-01 16:35:43 DEBUG 94.73.43.12 UserGroup::listGroupsForUser
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT g.rowid, ug.entity as usergroup_entity FROM oe_usergroup as g, oe_usergroup_user as ug WHERE ug.fk_usergroup = g.rowid AND ug.fk_user = 2 AND g.entity IN (0,1) ORDER BY g.nom
2023-05-01 16:35:43 DEBUG 94.73.43.12 Form::select_dolgroups
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT ug.rowid, ug.nom as name FROM oe_usergroup as ug WHERE ug.entity IN (0, 1) ORDER BY ug.nom ASC
2023-05-01 16:35:43 INFO 94.73.43.12 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/users/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-05-01 16:35:43 DEBUG 94.73.43.12 /core/lib/function2.lib.php::getListOfModels
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'user' AND entity IN (0,1) ORDER BY description DESC
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'users/2'
2023-05-01 16:35:43 DEBUG 94.73.43.12 User::fetchObjectLink
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'user') OR (fk_target = 2 AND targettype = 'user') ORDER BY sourcetype
2023-05-01 16:35:43 DEBUG 94.73.43.12 ActionComm::getActions
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'user' ORDER BY a.datep DESC, a.id DESC
2023-05-01 16:35:43 DEBUG 94.73.43.12 ActionComm::fetch
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 3
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 3 AND element_type IN ('user', 'socpeople')
2023-05-01 16:35:43 DEBUG 94.73.43.12 ActionComm::fetch
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 2
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 2 AND element_type IN ('user', 'socpeople')
2023-05-01 16:35:43 DEBUG 94.73.43.12 CActionComm::liste_array
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-05-01 16:35:43 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-01 16:35:43 INFO 94.73.43.12 --- End access to /admin/htdocs/user/card.php
2023-05-01 16:35:49 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:49 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:49 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/user/card.php - action=create, massaction=
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 16:35:49 DEBUG 94.73.43.12 User::loadParentOf
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-01 16:35:49 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-01 16:35:49 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-05-01 16:35:49 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-05-01 16:35:49 INFO 94.73.43.12 Build childid for id = 1
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-01 16:35:49 DEBUG 94.73.43.12 Form::select_civility
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT rowid, code, label, active FROM oe_c_civility WHERE active = 1
2023-05-01 16:35:49 DEBUG 94.73.43.12 Form::select_dolusers
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-01 16:35:49 DEBUG 94.73.43.12 Form::select_country
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-01 16:35:49 DEBUG 94.73.43.12 FormCompany::select_departement selected=, country_codeid=
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-05-01 16:35:49 DEBUG 94.73.43.12 FormCompany::select_departement num=1737
2023-05-01 16:35:49 DEBUG 94.73.43.12 Categorie::load_motherof
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-01 16:35:49 DEBUG 94.73.43.12 Categorie::get_full_arbo get category list
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 7
2023-05-01 16:35:49 DEBUG 94.73.43.12 Categorie::get_full_arbo call to buildPathFromId
2023-05-01 16:35:49 DEBUG 94.73.43.12 Categorie::get_full_arbo dol_sort_array
2023-05-01 16:35:49 INFO 94.73.43.12 DolEditor::DolEditor htmlname=signature width= height=138 toolbarname=dolibarr_notes
2023-05-01 16:35:49 INFO 94.73.43.12 DolEditor::DolEditor htmlname=note_public width= height=100 toolbarname=dolibarr_notes
2023-05-01 16:35:49 INFO 94.73.43.12 DolEditor::DolEditor htmlname=note_private width= height=100 toolbarname=dolibarr_notes
2023-05-01 16:35:49 DEBUG 94.73.43.12 Translate::loadCacheCurrencies
2023-05-01 16:35:49 DEBUG 94.73.43.12 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-05-01 16:35:49 INFO 94.73.43.12 --- End access to /admin/htdocs/user/card.php
2023-05-01 16:35:55 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:55 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:55 NOTICE 94.73.43.12 --- Access to POST /admin/htdocs/user/card.php - action=add, massaction=
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::loadParentOf
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-05-01 16:35:55 INFO 94.73.43.12 Build childid for id = 1
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-01 16:35:55 DEBUG 94.73.43.12 BEGIN Transaction
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::create login=tecnico, user=1
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT COUNT(*) as nb FROM oe_user WHERE entity IN (1, 0) AND login = 'tecnico'
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_user (datec, login, ldap_sid, entity) VALUES('2023-05-01 18:35:55', 'tecnico', '', 1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::create
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT id FROM oe_rights_def WHERE bydefault = 1 AND entity = 1
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=DELETE FROM oe_user_rights WHERE fk_user = 3 AND fk_id=301
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_user_rights (fk_user, fk_id) VALUES (3, 301)
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=DELETE FROM oe_user_rights WHERE fk_user = 3 AND fk_id=304
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_user_rights (fk_user, fk_id) VALUES (3, 304)
2023-05-01 16:35:55 INFO 94.73.43.12 User::update notrigger=1, nosyncmember=1, nosyncmemberpass=0
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::update
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=UPDATE oe_user SET civility = '', lastname = 'tecnico', firstname = 'tecnico', ref_employee = '', national_registration_number = '', employee = 1, login = 'tecnico', api_key = null, gender = null, birth=null, admin = 0, address = '', zip = '', town = '', fk_state = null, fk_country = null, office_phone = '', office_fax = '', user_mobile = '', personal_mobile = '', email = '', personal_email = '', socialnetworks = 'null', job = '', signature = '', accountancy_code = '', color = '', dateemployment=null, dateemploymentend=null, datestartvalidity=null, dateendvalidity=null, note_private = '', note_public = '', photo = null, openid = null, fk_user = null, fk_user_expense_validator = null, fk_user_holiday_validator = null, thm= null, tjm= null, salary= null, salaryextra= null, weeklyhours= null, entity = 1, default_range = null, default_c_exp_tax_cat = null, fk_warehouse = null, lang = null WHERE rowid = 3
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::update set link with member
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=UPDATE oe_user SET fk_member =null where rowid = 3
2023-05-01 16:35:55 INFO 94.73.43.12 Trigger 'ActionsAuto' for action 'USER_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=3
2023-05-01 16:35:55 DEBUG 94.73.43.12 CActionComm::fetch
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-05-01 16:35:55 DEBUG 94.73.43.12 ActionComm::add
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-05-01 18:35:55', '2023-05-01 18:35:55', '2023-05-01 18:35:55', null, 40,'AC_USER_CREATE', null, null, null, 'Registro creado', null, 1, 1, null, 'Registro creado', '-1', '0', '0', '', '0', 3, 'user', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=UPDATE oe_actioncomm SET ref='4' WHERE id=4
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(4, 'user', 1, 0, 0, 0)
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::setPassword user=1 password=************ changelater=0 notrigger=0 nosyncmember=0
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::setPassword
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=UPDATE oe_user SET pass_crypted = '$2y$10$s0S.jzrpgAVFKJKvk5KL4Ok3izV.5ryGOnASfxHi6Ik8N3/Sihq3i', pass_temp = null, pass = null WHERE rowid = 3
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::setPassword notrigger=0 error=0
2023-05-01 16:35:55 INFO 94.73.43.12 Trigger 'Logevents' for action 'USER_NEW_PASSWORD' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=3
2023-05-01 16:35:55 DEBUG 94.73.43.12 Events::create
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_NEW_PASSWORD', 1, '94.73.43.12', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-01 18:35:55', 1, 'Passord cambiado para tecnico', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-01 16:35:55 INFO 94.73.43.12 Trigger 'ActionsAuto' for action 'USER_NEW_PASSWORD' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=3
2023-05-01 16:35:55 DEBUG 94.73.43.12 CActionComm::fetch
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-05-01 16:35:55 DEBUG 94.73.43.12 ActionComm::add
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-05-01 18:35:55', '2023-05-01 18:35:55', '2023-05-01 18:35:55', null, 40,'AC_USER_NEW_PASSWORD', null, null, null, 'Contraseña modificada en Dolibarr', null, 1, 1, null, 'Contraseña modificada en Dolibarr', '-1', '0', '0', '', '0', 3, 'user', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=UPDATE oe_actioncomm SET ref='5' WHERE id=5
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(5, 'user', 1, 0, 0, 0)
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::setCategoriesCommon Oject Id:3 type_categ:user nb tag add:0
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_user as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_user = 3 AND c.entity IN (1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 COMMIT Transaction
2023-05-01 16:35:55 INFO 94.73.43.12 --- End access to /admin/htdocs/user/card.php
2023-05-01 16:35:55 DEBUG 94.73.43.12 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-01 16:35:55 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-01 16:35:55 NOTICE 94.73.43.12 --- Access to GET /admin/htdocs/user/card.php - action=, massaction=
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::loadParentOf
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::get_full_tree get user list
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::get_full_tree call to build_path_from_id_user
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::get_full_tree dol_sort_array
2023-05-01 16:35:55 INFO 94.73.43.12 Build childid for id = 1
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT COUNT(dbt.rowid) as nb FROM oe_user as dbt WHERE dbt.rowid IN (3) AND dbt.entity IN (0,1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 3 ORDER BY u.entity ASC
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 3 AND entity = 1
2023-05-01 16:35:55 DEBUG 94.73.43.12 DefaultValues::fetchAll
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,3) AND entity IN (1,1))
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 3 AND r.perms IS NOT NULL
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 3 AND r.perms IS NOT NULL
2023-05-01 16:35:55 INFO 94.73.43.12 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/users/3 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'user' AND objectid = 3 AND entity = 1
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT MAX(te.rowid) FROM oe_user as te WHERE te.rowid < '3' AND te.entity IN (0,1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT MIN(te.rowid) FROM oe_user as te WHERE te.rowid > '3' AND te.entity IN (0,1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_user as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_user = 3 AND c.entity IN (1)
2023-05-01 16:35:55 DEBUG 94.73.43.12 UserGroup::listGroupsForUser
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT g.rowid, ug.entity as usergroup_entity FROM oe_usergroup as g, oe_usergroup_user as ug WHERE ug.fk_usergroup = g.rowid AND ug.fk_user = 3 AND g.entity IN (0,1) ORDER BY g.nom
2023-05-01 16:35:55 DEBUG 94.73.43.12 Form::select_dolgroups
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT ug.rowid, ug.nom as name FROM oe_usergroup as ug WHERE ug.entity IN (0, 1) ORDER BY ug.nom ASC
2023-05-01 16:35:55 INFO 94.73.43.12 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/users/3 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-05-01 16:35:55 DEBUG 94.73.43.12 /core/lib/function2.lib.php::getListOfModels
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'user' AND entity IN (0,1) ORDER BY description DESC
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'users/3'
2023-05-01 16:35:55 DEBUG 94.73.43.12 User::fetchObjectLink
2023-05-01 16:35:55 DEBUG 94.73.43.12 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'user') OR (fk_target = 3 AND targettype = 'user') ORDER BY sourcetype
2023-05-01 16:35:56 DEBUG 94.73.43.12 ActionComm::getActions
2023-05-01 16:35:56 DEBUG 94.73.43.12 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'user' ORDER BY a.datep DESC, a.id DESC
2023-05-01 16:35:56 DEBUG 94.73.43.12 ActionComm::fetch
2023-05-01 16:35:56 DEBUG 94.73.43.12 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 5
2023-05-01 16:35:56 DEBUG 94.73.43.12 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-05-01 16:35:56 DEBUG 94.73.43.12 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 5 AND element_type IN ('user', 'socpeople')
2023-05-01 16:35:56 DEBUG 94.73.43.12 ActionComm::fetch
2023-05-01 16:35:56 DEBUG 94.73.43.12 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 4
2023-05-01 16:35:56 DEBUG 94.73.43.12 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 4 AND element_type IN ('user', 'socpeople')
2023-05-01 16:35:56 DEBUG 94.73.43.12 CActionComm::liste_array
2023-05-01 16:35:56 DEBUG 94.73.43.12 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-05-01 16:35:56 DEBUG 94.73.43.12 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-01 16:35:56 INFO 94.73.43.12 --- End access to /admin/htdocs/user/card.php
2023-05-05 20:44:23 DEBUG 94.73.40.140 NEW TOKEN generated by : /admin/htdocs/index.php
2023-05-05 20:44:23 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-05-05 20:44:23 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:44:23 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-05 20:44:23 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:44:23 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 20:44:23 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:44:23 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:44:23 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 20:44:23 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-05 20:44:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:44:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 20:44:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:44:24 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:44:24 INFO 94.73.40.140 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-05-05 20:44:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:44:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 20:44:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:44:24 INFO 94.73.40.140 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-05-05 20:44:24 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-05 20:44:24 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-05 20:44:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:44:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 20:44:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:44:24 INFO 94.73.40.140 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-05-05 20:44:24 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-05 20:44:24 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-05 20:44:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:44:24 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-05-05 20:44:34 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-05 20:44:34 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-05-05 20:44:34 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-05 20:44:34 NOTICE 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-05-05 20:44:35 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:44:35 DEBUG 94.73.40.140 Bad password, connexion refused
2023-05-05 20:44:35 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-05-05 20:44:35 DEBUG 94.73.40.140 Events::create
2023-05-05 20:44:35 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-05 22:44:35', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-05 20:44:36 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-05-05 20:44:36 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-05 20:44:36 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:44:36 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 20:44:36 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:44:36 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:44:36 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 20:44:36 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-05 20:44:47 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-05 20:44:47 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-05-05 20:44:47 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-05 20:44:47 NOTICE 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-05-05 20:44:48 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:44:48 DEBUG 94.73.40.140 Bad password, connexion refused
2023-05-05 20:44:48 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-05-05 20:44:48 DEBUG 94.73.40.140 Events::create
2023-05-05 20:44:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-05 22:44:48', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-05 20:44:48 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-05-05 20:44:48 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-05 20:44:59 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-05 20:44:59 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-05 20:44:59 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 20:44:59 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 20:44:59 INFO 94.73.40.140 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-05 20:44:59 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-05 20:44:59 DEBUG 94.73.40.140 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-05 22:44:59', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-05 22:44:59', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-05 20:44:59 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:44:59 DEBUG 94.73.40.140 Events::create
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-05 22:44:59', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1614x937', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-05 20:44:59 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 20:44:59 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 20:44:59 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-05 20:44:59 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-05 20:44:59 INFO 94.73.40.140 box_birthdays::showBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-05 20:44:59 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 AND (a.fk_soc IS NULL OR sc.fk_user = 1) ORDER BY a.datep ASC LIMIT 5
2023-05-05 20:44:59 INFO 94.73.40.140 box_actions::showBox
2023-05-05 20:44:59 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-05 20:44:59 INFO 94.73.40.140 box_comptes::showBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-05 20:44:59 INFO 94.73.40.140 box_produits::showBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-05 20:44:59 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-05 20:44:59 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1) AND (a.fk_soc IS NULL OR sc.fk_user = 1)
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-05 20:44:59 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-05 20:45:00 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-05 20:45:00 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 20:45:00 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 20:45:00 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 20:45:00 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-05 20:45:00 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 20:45:00 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 20:45:00 INFO 94.73.40.140 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-05-05 20:45:00 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 20:45:00 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 20:45:00 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:45:00 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-05-05 20:45:00 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-05 20:45:00 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-05 20:45:00 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 20:45:00 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 20:45:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 20:45:00 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 20:45:00 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-05-05 20:45:00 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-05 20:45:00 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-05 22:38:58 DEBUG 94.73.40.140 NEW TOKEN generated by : /admin/htdocs/index.php
2023-05-05 22:38:58 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-05-05 22:38:58 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 22:38:58 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-05 22:38:58 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:38:58 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 22:38:58 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 22:38:58 INFO 94.73.40.140 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-05-05 22:38:58 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-05 22:38:58 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-05 22:39:19 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-05 22:39:19 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-05 22:39:19 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 22:39:19 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 22:39:19 INFO 94.73.40.140 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-05 22:39:19 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-05 22:39:19 DEBUG 94.73.40.140 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-06 00:39:19', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-06 00:39:19', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-05 22:39:19 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 22:39:19 DEBUG 94.73.40.140 Events::create
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-06 00:39:19', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1623x903', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-05 22:39:19 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 22:39:19 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 22:39:19 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-05 22:39:19 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-05 22:39:19 INFO 94.73.40.140 box_birthdays::showBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-05 22:39:19 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 AND (a.fk_soc IS NULL OR sc.fk_user = 1) ORDER BY a.datep ASC LIMIT 5
2023-05-05 22:39:19 INFO 94.73.40.140 box_actions::showBox
2023-05-05 22:39:19 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-05 22:39:19 INFO 94.73.40.140 box_comptes::showBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-05 22:39:19 INFO 94.73.40.140 box_produits::showBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-05 22:39:19 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-05 22:39:19 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1) AND (a.fk_soc IS NULL OR sc.fk_user = 1)
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-05 22:39:19 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-05 22:39:19 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-05 22:39:20 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 22:39:20 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 22:39:20 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 22:39:20 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-05-05 22:39:20 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-05 22:39:20 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-05 22:39:20 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 22:39:20 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 22:39:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 22:39:20 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 22:39:20 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-05-05 22:39:20 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-05 22:39:20 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-05 22:39:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 22:39:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 22:39:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/webservices/admin/index.php - action=, massaction=
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 22:39:21 INFO 94.73.40.140 --- End access to /admin/htdocs/webservices/admin/index.php
2023-05-05 22:39:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-05 22:39:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 22:39:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 22:39:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 22:39:21 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-05 22:39:44 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-05 22:39:44 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 22:39:44 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 22:39:44 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 22:39:44 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:39:44 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 22:39:44 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 22:39:44 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 22:39:44 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/api/admin/index.php - action=, massaction=
2023-05-05 22:39:44 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 22:39:44 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 22:39:44 INFO 94.73.40.140 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/api/temp
2023-05-05 22:39:44 INFO 94.73.40.140 --- End access to /admin/htdocs/api/admin/index.php
2023-05-05 22:41:11 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-05 22:41:11 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 22:41:11 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 22:41:11 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 22:41:11 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:41:11 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 22:41:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 22:41:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 22:41:11 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/webservices/admin/index.php - action=, massaction=
2023-05-05 22:41:11 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 22:41:11 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 22:41:11 INFO 94.73.40.140 --- End access to /admin/htdocs/webservices/admin/index.php
2023-05-05 22:41:34 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-05 22:41:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-05 22:41:34 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-05 22:41:34 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-05 22:41:34 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-05 22:41:34 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-05 22:41:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-05 22:41:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-05 22:41:34 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/api/admin/index.php - action=, massaction=
2023-05-05 22:41:34 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-05 22:41:34 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-05 22:41:34 INFO 94.73.40.140 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/api/temp
2023-05-05 22:41:34 INFO 94.73.40.140 --- End access to /admin/htdocs/api/admin/index.php
2023-05-06 17:32:53 DEBUG 94.73.40.140 NEW TOKEN generated by : /admin/htdocs/index.php
2023-05-06 17:32:53 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-05-06 17:32:53 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:32:53 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 17:32:54 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:32:54 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:32:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:32:54 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:32:54 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:32:54 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:32:54 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:32:54 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:32:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:32:54 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:32:54 INFO 94.73.40.140 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-05-06 17:32:54 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:32:54 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:32:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:32:54 INFO 94.73.40.140 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-05-06 17:32:54 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-06 17:32:54 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-06 17:32:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:32:54 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-05-06 17:32:55 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-06 17:32:55 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-05-06 17:32:55 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-06 17:32:55 NOTICE 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-05-06 17:32:56 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:32:56 DEBUG 94.73.40.140 Bad password, connexion refused
2023-05-06 17:32:56 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-05-06 17:32:56 DEBUG 94.73.40.140 Events::create
2023-05-06 17:32:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-06 19:32:56', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-06 17:32:56 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-05-06 17:32:56 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 17:32:57 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:32:57 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:32:57 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:32:57 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:32:57 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:32:57 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:33:03 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-06 17:33:03 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-06 17:33:03 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:33:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:33:03 INFO 94.73.40.140 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-06 17:33:03 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:33:03 DEBUG 94.73.40.140 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-06 19:33:03', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-06 19:33:03', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-06 17:33:03 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:33:03 DEBUG 94.73.40.140 Events::create
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-06 19:33:03', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1661x839', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-06 17:33:03 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:33:03 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:33:03 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 17:33:03 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 17:33:03 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 17:33:03 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 AND (a.fk_soc IS NULL OR sc.fk_user = 1) ORDER BY a.datep ASC LIMIT 5
2023-05-06 17:33:03 INFO 94.73.40.140 box_actions::showBox
2023-05-06 17:33:03 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 17:33:03 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 17:33:03 INFO 94.73.40.140 box_produits::showBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 17:33:03 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 17:33:03 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1) AND (a.fk_soc IS NULL OR sc.fk_user = 1)
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 17:33:03 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 17:33:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:33:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:33:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:33:03 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:33:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:33:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:33:03 INFO 94.73.40.140 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-05-06 17:33:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:33:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:33:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:33:03 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-05-06 17:33:03 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-06 17:33:03 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-06 17:33:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:33:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:33:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:33:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:33:03 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-05-06 17:33:03 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-06 17:33:03 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-06 17:53:49 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:53:49 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:53:49 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:53:49 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 17:53:49 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 17:53:50 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 17:53:50 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 17:53:50 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 AND (a.fk_soc IS NULL OR sc.fk_user = 1) ORDER BY a.datep ASC LIMIT 5
2023-05-06 17:53:50 INFO 94.73.40.140 box_actions::showBox
2023-05-06 17:53:50 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 17:53:50 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 17:53:50 INFO 94.73.40.140 box_produits::showBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 17:53:50 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 17:53:50 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a LEFT JOIN oe_societe_commerciaux as sc ON a.fk_soc = sc.fk_soc WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1) AND (a.fk_soc IS NULL OR sc.fk_user = 1)
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 17:53:50 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 17:53:50 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:53:50 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:53:50 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:53:50 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:53:50 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:53:54 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:53:54 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:53:54 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:53:54 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:53:54 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:53:54 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:53:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:53:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:53:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-06 17:53:54 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:53:54 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:53:54 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-06 17:54:02 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:54:02 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:54:02 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:54:02 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:54:02 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:54:02 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:54:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:54:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:54:02 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-05-06 17:54:02 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:54:02 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:54:02 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/index.php
2023-05-06 17:54:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:54:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:54:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:54:03 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:54:03 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:54:04 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:54:04 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:54:04 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:54:04 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 useNPR
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:54:04 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:54:04 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:54:04 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 useNPR
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:54:04 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:54:04 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:54:04 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:54:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:54:04 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:54:04 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:54:04 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:54:04 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:54:06 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:54:06 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:54:06 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/blockedlog/admin/blockedlog.php - action=, massaction=
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 LIMIT 1
2023-05-06 17:54:06 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=0 is 1
2023-05-06 17:54:06 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite FROM oe_c_country WHERE active > 0
2023-05-06 17:54:06 INFO 94.73.40.140 --- End access to /admin/htdocs/blockedlog/admin/blockedlog.php
2023-05-06 17:55:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:55:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:55:21 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/blockedlog/admin/blockedlog.php - action=set_BLOCKEDLOG_DISABLE_NOT_ALLOWED_FOR_COUNTRY, massaction=
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:55:21 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:55:21 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'BLOCKEDLOG_DISABLE_NOT_ALLOWED_FOR_COUNTRY' AND entity = 1
2023-05-06 17:55:21 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('BLOCKEDLOG_DISABLE_NOT_ALLOWED_FOR_COUNTRY', 'ES', 'chaine', 0, '', 1)
2023-05-06 17:55:21 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:55:21 INFO 94.73.40.140 --- End access to /admin/htdocs/blockedlog/admin/blockedlog.php
2023-05-06 17:55:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:55:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:55:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/blockedlog/admin/blockedlog.php - action=, massaction=
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 LIMIT 1
2023-05-06 17:55:21 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=0 is 1
2023-05-06 17:55:21 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite FROM oe_c_country WHERE active > 0
2023-05-06 17:55:21 INFO 94.73.40.140 --- End access to /admin/htdocs/blockedlog/admin/blockedlog.php
2023-05-06 17:55:43 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:55:43 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:55:43 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:55:43 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:55:43 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:55:43 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:55:43 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:55:43 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:55:43 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 useNPR
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:55:43 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:55:43 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:55:43 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 useNPR
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:55:43 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:55:43 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:55:43 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:55:43 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:55:43 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:55:43 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:55:43 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:55:43 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:55:43 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:55:45 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:55:45 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:55:45 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:55:45 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:55:45 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:55:45 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:55:45 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:55:45 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:55:45 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 useNPR
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:55:45 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:55:45 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:55:45 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 useNPR
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:55:45 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:55:45 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:55:45 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:55:45 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:55:45 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:55:45 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:55:45 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:55:45 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:55:45 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:10 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:10 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:10 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:10 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:10 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:11 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:11 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:11 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:11 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:11 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:11 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:11 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:11 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:11 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:11 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:11 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:11 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:11 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:11 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:11 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:11 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:11 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:19 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:19 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:19 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:19 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:19 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:19 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::_unactive
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_EXPENSEREPORT' AND entity IN (0, 1)
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::delete_tabs
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_EXPENSEREPORT_TABS_%' AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::delete_cronjobs
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'expensereport' AND entity = 1 AND test = '1'
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::delete_permissions
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'expensereport' AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::delete_menus
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'expensereport' AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::delete_dirs
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_EXPENSEREPORT_DIR_%' AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:19 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::_active delete activation constant
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_EXPENSEREPORT' AND entity IN (0, 1)
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::_active insert activation constant
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_EXPENSEREPORT', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_tabs
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_const
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'EXPENSEREPORT_ADDON_PDF' AND entity = 1
2023-05-06 17:57:19 WARNING 94.73.40.140 modExpenseReport::insert_const constant 'EXPENSEREPORT_ADDON_PDF' already exists
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'EXPENSEREPORT_ADDON' AND entity = 1
2023-05-06 17:57:19 WARNING 94.73.40.140 modExpenseReport::insert_const constant 'EXPENSEREPORT_ADDON' already exists
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'MAIN_DELAY_EXPENSEREPORTS' AND entity = 1
2023-05-06 17:57:19 WARNING 94.73.40.140 modExpenseReport::insert_const constant 'MAIN_DELAY_EXPENSEREPORTS' already exists
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'MAIN_DELAY_EXPENSEREPORTS_TO_PAY' AND entity = 1
2023-05-06 17:57:19 WARNING 94.73.40.140 modExpenseReport::insert_const constant 'MAIN_DELAY_EXPENSEREPORTS_TO_PAY' already exists
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_boxes
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_cronjobs
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_permissions
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EXPENSEREPORT' AND entity IN (0,1)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 771 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (771,1,'Read expense reports (yours and your subordinates)','expensereport','r',0,'lire')
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_permissions Search all admin users
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:19 INFO 94.73.40.140 modExpenseReport::insert_permissions Add permission id 771 to user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:19 INFO 94.73.40.140 User::addrights 771, , , 1, 1 for user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 771 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=771 OR (module='expensereport' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 771 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 771)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 772 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (772,1,'Create/modify expense reports','expensereport','w',0,'creer')
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_permissions Search all admin users
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:19 INFO 94.73.40.140 modExpenseReport::insert_permissions Add permission id 772 to user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:19 INFO 94.73.40.140 User::addrights 772, , , 1, 1 for user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 772 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=772 OR (module='expensereport' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 771 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 771)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 772 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 772)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 773 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (773,1,'Delete expense reports','expensereport','d',0,'supprimer')
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_permissions Search all admin users
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:19 INFO 94.73.40.140 modExpenseReport::insert_permissions Add permission id 773 to user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:19 INFO 94.73.40.140 User::addrights 773, , , 1, 1 for user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 773 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=773 OR (module='expensereport' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 771 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 771)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 773 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 773)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 775 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (775,1,'Approve expense reports','expensereport','w',0,'approve')
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_permissions Search all admin users
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:19 INFO 94.73.40.140 modExpenseReport::insert_permissions Add permission id 775 to user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:19 INFO 94.73.40.140 User::addrights 775, , , 1, 1 for user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 775 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=775 OR (module='expensereport' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 771 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 771)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 775 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 775)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 776 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (776,1,'Pay expense reports','expensereport','w',0,'to_paid')
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_permissions Search all admin users
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:19 INFO 94.73.40.140 modExpenseReport::insert_permissions Add permission id 776 to user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:19 INFO 94.73.40.140 User::addrights 776, , , 1, 1 for user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 776 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=776 OR (module='expensereport' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 771 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 771)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 776 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 776)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 777 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (777,1,'Read expense reports of everybody','expensereport','r',0,'readall')
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_permissions Search all admin users
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:19 INFO 94.73.40.140 modExpenseReport::insert_permissions Add permission id 777 to user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:19 INFO 94.73.40.140 User::addrights 777, , , 1, 1 for user id=1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 777 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=777 OR (module='expensereport' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 771 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 771)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 777 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 777)
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 778 AND entity = 1
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (778,1,'Create expense reports for everybody','expensereport','w',0,'writeall_advance')
2023-05-06 17:57:19 DEBUG 94.73.40.140 modExpenseReport::insert_permissions Search all admin users
2023-05-06 17:57:19 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:20 INFO 94.73.40.140 modExpenseReport::insert_permissions Add permission id 778 to user id=1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:20 INFO 94.73.40.140 User::addrights 778, , , 1, 1 for user id=1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 778 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=778 OR (module='expensereport' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 771 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 771)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 778 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 778)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 779 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (779,1,'Export expense reports','expensereport','r',0,'export')
2023-05-06 17:57:20 DEBUG 94.73.40.140 modExpenseReport::insert_permissions Search all admin users
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:20 INFO 94.73.40.140 modExpenseReport::insert_permissions Add permission id 779 to user id=1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:20 INFO 94.73.40.140 User::addrights 779, , , 1, 1 for user id=1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 779 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=779 OR (module='expensereport' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 771 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 771)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 779 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 779)
2023-05-06 17:57:20 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:20 DEBUG 94.73.40.140 modExpenseReport::_init ignoreerror=0
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'standard' AND type='expensereport' AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 modExpenseReport::_init ignoreerror=0
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('standard','expensereport',1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:20 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:20 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '73', 'chaine', 0, '', 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:20 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:20 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:20 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:20 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:20 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:20 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:20 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:20 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:20 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:20 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:20 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:20 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:20 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:20 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:20 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:20 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:20 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:20 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:20 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:20 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:20 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:20 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:20 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:20 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:20 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:20 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:20 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:57:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:21 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:21 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:21 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_recruitment_recruitmentcandidature-recruitment.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=CREATE TABLE oe_recruitment_recruitmentcandidature( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, entity integer NOT NULL DEFAULT 1, ref varchar(128) DEFAULT '(PROV)' NOT NULL, fk_recruitmentjobposition INTEGER NULL, description text, note_public text, note_private text, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, import_key varchar(14), model_pdf varchar(255), status smallint NOT NULL, firstname varchar(128), lastname varchar(128), email varchar(255), phone varchar(64), date_birth date, remuneration_requested integer, remuneration_proposed integer, email_msgid varchar(175), email_date datetime, fk_recruitment_origin INTEGER NULL ) ENGINE=innodb;
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_recruitment_recruitmentcandidature' already exists
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_recruitment_recruitmentcandidature_extrafields-recruitment.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=create table oe_recruitment_recruitmentcandidature_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_recruitment_recruitmentcandidature_extrafields' already exists
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_recruitment_recruitmentjobposition-recruitment.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=CREATE TABLE oe_recruitment_recruitmentjobposition( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, ref varchar(128) DEFAULT '(PROV)' NOT NULL, entity INTEGER DEFAULT 1 NOT NULL, label varchar(255) NOT NULL, qty integer DEFAULT 1 NOT NULL, fk_soc integer, fk_project integer, fk_user_recruiter integer, email_recruiter varchar(255), fk_user_supervisor integer, fk_establishment integer, date_planned date, remuneration_suggested varchar(255), description text, note_public text, note_private text, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, last_main_doc varchar(255), import_key varchar(14), model_pdf varchar(255), status smallint NOT NULL ) ENGINE=innodb;
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_recruitment_recruitmentjobposition' already exists
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_recruitment_recruitmentjobposition_extrafields-recruitment.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=create table oe_recruitment_recruitmentjobposition_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_recruitment_recruitmentjobposition_extrafields' already exists
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_recruitment_recruitmentcandidature-recruitment.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentcandidature ADD INDEX idx_recruitment_recruitmentcandidature_rowid (rowid);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitment_recruitmentcandidature_rowid'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentcandidature ADD INDEX idx_recruitment_recruitmentcandidature_ref (ref);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitment_recruitmentcandidature_ref'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentcandidature ADD CONSTRAINT oe_recruitment_recruitmentcandidature_fk_user_creat FOREIGN KEY (fk_user_creat) REFERENCES oe_user(rowid);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f15d'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentcandidature ADD INDEX idx_recruitment_recruitmentcandidature_status (status);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitment_recruitmentcandidature_status'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 5
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentcandidature ADD UNIQUE INDEX uk_recruitmentcandidature_email_msgid(email_msgid);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'uk_recruitmentcandidature_email_msgid'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_recruitment_recruitmentcandidature_extrafields-recruitment.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentcandidature_extrafields ADD INDEX idx_recruitmentcandidature_fk_object(fk_object);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitmentcandidature_fk_object'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_recruitment_recruitmentjobposition-recruitment.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD INDEX idx_recruitment_recruitmentjobposition_rowid (rowid);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitment_recruitmentjobposition_rowid'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD INDEX idx_recruitment_recruitmentjobposition_ref (ref);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitment_recruitmentjobposition_ref'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD INDEX idx_recruitment_recruitmentjobposition_fk_soc (fk_soc);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitment_recruitmentjobposition_fk_soc'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD INDEX idx_recruitment_recruitmentjobposition_fk_project (fk_project);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitment_recruitmentjobposition_fk_project'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 5
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD CONSTRAINT oe_recruitment_recruitmentjobposition_fk_user_recruiter FOREIGN KEY (fk_user_recruiter) REFERENCES oe_user(rowid);
2023-05-06 17:57:21 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f15d'
2023-05-06 17:57:21 DEBUG 94.73.40.140 Admin.lib::run_sql Request 6
2023-05-06 17:57:21 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD CONSTRAINT oe_recruitment_recruitmentjobposition_fk_user_supervisor FOREIGN KEY (fk_user_supervisor) REFERENCES oe_user(rowid);
2023-05-06 17:57:22 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f15d'
2023-05-06 17:57:22 DEBUG 94.73.40.140 Admin.lib::run_sql Request 7
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD CONSTRAINT oe_recruitment_recruitmentjobposition_fk_establishment FOREIGN KEY (fk_establishment) REFERENCES oe_establishment(rowid);
2023-05-06 17:57:22 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f15d'
2023-05-06 17:57:22 DEBUG 94.73.40.140 Admin.lib::run_sql Request 8
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD CONSTRAINT oe_recruitment_recruitmentjobposition_fk_user_creat FOREIGN KEY (fk_user_creat) REFERENCES oe_user(rowid);
2023-05-06 17:57:22 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f15d'
2023-05-06 17:57:22 DEBUG 94.73.40.140 Admin.lib::run_sql Request 9
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition ADD INDEX idx_recruitment_recruitmentjobposition_status (status);
2023-05-06 17:57:22 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitment_recruitmentjobposition_status'
2023-05-06 17:57:22 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_recruitment_recruitmentjobposition_extrafields-recruitment.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:22 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=ALTER TABLE oe_recruitment_recruitmentjobposition_extrafields ADD INDEX idx_recruitmentjobposition_fk_object(fk_object);
2023-05-06 17:57:22 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_recruitmentjobposition_fk_object'
2023-05-06 17:57:22 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::_unactive
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_RECRUITMENT' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::delete_tabs
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_RECRUITMENT_TABS_%' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::delete_module_parts
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_TRIGGERS' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_LOGIN' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_SUBSTITUTIONS' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_MENUS' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_TPL' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_BARCODE' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_MODELS' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_THEME' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_CSS' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_JS' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_HOOKS' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_MODULEFOREXTERNAL' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::delete_cronjobs
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'recruitment' AND entity = 1 AND test = '1'
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::delete_permissions
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'recruitment' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::delete_menus
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'recruitment' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::delete_dirs
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECRUITMENT_DIR_%' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:22 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::_active delete activation constant
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_RECRUITMENT' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::_active insert activation constant
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_RECRUITMENT', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_TRIGGERS
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_TRIGGERS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_LOGIN
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_LOGIN', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_SUBSTITUTIONS
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_SUBSTITUTIONS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_MENUS
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_MENUS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_TPL
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_TPL', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_BARCODE
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_BARCODE', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_MODELS
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_MODELS', 'chaine', '1', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_THEME
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_THEME', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_module_parts for key=MAIN_MODULE_RECRUITMENT_MODULEFOREXTERNAL
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_RECRUITMENT_MODULEFOREXTERNAL', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_const
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'RECRUITMENT_RECRUITMENTJOBPOSITION_ADDON' AND entity = 1
2023-05-06 17:57:22 WARNING 94.73.40.140 modRecruitment::insert_const constant 'RECRUITMENT_RECRUITMENTJOBPOSITION_ADDON' already exists
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'RECRUITMENT_RECRUITMENTCANDIDATURE_ADDON' AND entity = 1
2023-05-06 17:57:22 WARNING 94.73.40.140 modRecruitment::insert_const constant 'RECRUITMENT_RECRUITMENTCANDIDATURE_ADDON' already exists
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_boxes
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_cronjobs
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_permissions
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_RECRUITMENT' AND entity IN (0,1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 750 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (750,1,'Read job positions to fill and candidatures','recruitment','w',0,'recruitmentjobposition','read')
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_permissions Search all admin users
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:22 INFO 94.73.40.140 modRecruitment::insert_permissions Add permission id 750 to user id=1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:22 INFO 94.73.40.140 User::addrights 750, , , 1, 1 for user id=1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 750 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=750 OR (module='recruitment' AND perms='recruitmentjobposition' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 750 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 750)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 751 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (751,1,'Create/Update job positions to fill and candidatures','recruitment','w',0,'recruitmentjobposition','write')
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_permissions Search all admin users
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:22 INFO 94.73.40.140 modRecruitment::insert_permissions Add permission id 751 to user id=1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:22 INFO 94.73.40.140 User::addrights 751, , , 1, 1 for user id=1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 751 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=751 OR (module='recruitment' AND perms='recruitmentjobposition' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 750 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 750)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 751 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 751)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 752 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (752,1,'Delete Job positions to fill and candidatures','recruitment','w',0,'recruitmentjobposition','delete')
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_permissions Search all admin users
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:22 INFO 94.73.40.140 modRecruitment::insert_permissions Add permission id 752 to user id=1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:22 INFO 94.73.40.140 User::addrights 752, , , 1, 1 for user id=1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 752 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=752 OR (module='recruitment' AND perms='recruitmentjobposition' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 750 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 750)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 752 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 752)
2023-05-06 17:57:22 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::insert_menus
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 1001 AND url = '/recruitment/index.php' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'recruitment', 'left', 'hrm', 'recruitmentjobposition', -1, 'hrm', null, 1001, '/recruitment/index.php', '', 'Recruitment', '<span class=\"fas fa-id-card-alt infobox-adherent paddingright pictofixedwidth\" style=\"\"></span>', 'recruitment', '$user->rights->recruitment->recruitmentjobposition->read', '$conf->recruitment->enabled', '2')
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create record added has rowid=59
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 1002 AND url = '/recruitment/recruitmentjobposition_card.php?action=create' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'recruitment', 'left', 'hrm', 'recruitment_recruitmentjobposition_new', -1, 'hrm', 'recruitmentjobposition', 1002, '/recruitment/recruitmentjobposition_card.php?action=create', '', 'NewPositionToBeFilled', '', 'recruitment', '$user->rights->recruitment->recruitmentjobposition->write', '$conf->recruitment->enabled', '2')
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create record added has rowid=60
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 1003 AND url = '/recruitment/recruitmentjobposition_list.php' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'recruitment', 'left', 'hrm', 'recruitment_recruitmentjobposition_list', -1, 'hrm', 'recruitmentjobposition', 1003, '/recruitment/recruitmentjobposition_list.php', '', 'ListOfPositionsToBeFilled', '', 'recruitment', '$user->rights->recruitment->recruitmentjobposition->read', '$conf->recruitment->enabled', '2')
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create record added has rowid=61
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 1004 AND url = '/recruitment/recruitmentcandidature_card.php?action=create' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'recruitment', 'left', 'hrm', 'recruitment_recruitmentcandidature_new', -1, 'hrm', 'recruitmentjobposition', 1004, '/recruitment/recruitmentcandidature_card.php?action=create', '', 'NewCandidature', '', 'recruitment', '$user->rights->recruitment->recruitmentjobposition->write', '$conf->recruitment->enabled', '2')
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create record added has rowid=62
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 1005 AND url = '/recruitment/recruitmentcandidature_list.php' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'recruitment', 'left', 'hrm', 'recruitment_recruitmentcandidature_list', -1, 'hrm', 'recruitmentjobposition', 1005, '/recruitment/recruitmentcandidature_list.php', '', 'ListOfCandidatures', '', 'recruitment', '$user->rights->recruitment->recruitmentjobposition->read', '$conf->recruitment->enabled', '2')
2023-05-06 17:57:22 DEBUG 94.73.40.140 Menubase::create record added has rowid=63
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::_init ignoreerror=0
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'standard_recruitmentjobposition' AND type = 'recruitmentjobposition' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::_init ignoreerror=0
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('standard_recruitmentjobposition','recruitmentjobposition',1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::_init ignoreerror=0
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'generic_recruitmentjobposition_odt' AND type = 'recruitmentjobposition' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 modRecruitment::_init ignoreerror=0
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('generic_recruitmentjobposition_odt', 'recruitmentjobposition', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:22 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:22 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '74', 'chaine', 0, '', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:22 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:22 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:22 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:22 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:22 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:22 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:22 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:22 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:22 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:22 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:22 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:22 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:22 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:22 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:22 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:22 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:22 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:22 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:22 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:22 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:22 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:22 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:22 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:22 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:22 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:22 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:22 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:57:23 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:23 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:23 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:23 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:23 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::_unactive
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_HRM' AND entity IN (0, 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::delete_tabs
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_HRM_TABS_%' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::delete_module_parts
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_TRIGGERS' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_LOGIN' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_SUBSTITUTIONS' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_MENUS' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_TPL' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_BARCODE' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_MODELS' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_PRINTING' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_THEME' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_CSS' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_JS' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_MODULEFOREXTERNAL' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::delete_cronjobs
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'hrm' AND entity = 1 AND test = '1'
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::delete_permissions
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'hrm' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::delete_menus
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'hrm' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::delete_dirs
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_HRM_DIR_%' AND entity = 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_evaluation-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=CREATE TABLE oe_hrm_evaluation( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, ref varchar(128) DEFAULT '(PROV)' NOT NULL, label varchar(255), description text, note_public text, note_private text, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, import_key varchar(14), status smallint NOT NULL, date_eval date, fk_user integer NOT NULL, fk_job integer NOT NULL ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_evaluation' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_evaluation_extrafields-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=create table oe_hrm_evaluation_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_evaluation_extrafields' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_evaluationdet-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=CREATE TABLE oe_hrm_evaluationdet ( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, fk_skill integer NOT NULL, fk_evaluation integer NOT NULL, rankorder integer NOT NULL, required_rank integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_evaluationdet' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_evaluationdet_extrafields-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=create table oe_hrm_evaluationdet_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_evaluationdet_extrafields' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_job-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=CREATE TABLE oe_hrm_job( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, label varchar(255) NOT NULL, description text, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, deplacement varchar(255), note_public text, note_private text, fk_user_creat integer, fk_user_modif integer ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_job' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_job_extrafields-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=create table oe_hrm_job_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_job_extrafields' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_job_user-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=CREATE TABLE oe_hrm_job_user( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, description text, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_contrat integer, fk_user integer, fk_job integer NOT NULL, date_start datetime, date_end datetime, abort_comment varchar(255), note_public text, note_private text, fk_user_creat integer, fk_user_modif integer ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_job_user' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_skill-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=CREATE TABLE oe_hrm_skill( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, label varchar(255), description text, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, required_level integer NOT NULL, date_validite integer NOT NULL, temps_theorique double(24,8) NOT NULL, skill_type integer NOT NULL, note_public text, note_private text ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_skill' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_skill_extrafields-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=create table oe_hrm_skill_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_skill_extrafields' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_skilldet-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=CREATE TABLE oe_hrm_skilldet( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, fk_skill integer NOT NULL, rankorder integer NOT NULL DEFAULT '1', description text, fk_user_creat integer NOT NULL, fk_user_modif integer ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_skilldet' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_skillrank-hrm.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=CREATE TABLE oe_hrm_skillrank ( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, fk_skill integer NOT NULL, rankorder integer NOT NULL, fk_object integer NOT NULL, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_user_creat integer NOT NULL, fk_user_modif integer, objecttype varchar(128) NOT NULL ) ENGINE=innodb;
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_hrm_skillrank' already exists
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_evaluation-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluation ADD INDEX idx_hrm_evaluation_rowid (rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_evaluation_rowid'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluation ADD INDEX idx_hrm_evaluation_ref (ref);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_evaluation_ref'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluation ADD CONSTRAINT oe_hrm_evaluation_fk_user_creat FOREIGN KEY (fk_user_creat) REFERENCES oe_user(rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f18d'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluation ADD INDEX idx_hrm_evaluation_status (status);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_evaluation_status'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_evaluation_extrafields-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluation_extrafields ADD INDEX idx_evaluation_fk_object(fk_object);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_evaluation_fk_object'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_evaluationdet-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluationdet ADD INDEX idx_hrm_evaluationdet_rowid (rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_evaluationdet_rowid'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluationdet ADD CONSTRAINT oe_hrm_evaluationdet_fk_user_creat FOREIGN KEY (fk_user_creat) REFERENCES oe_user(rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f18d'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluationdet ADD INDEX idx_hrm_evaluationdet_fk_skill (fk_skill);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_evaluationdet_fk_skill'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluationdet ADD INDEX idx_hrm_evaluationdet_fk_evaluation (fk_evaluation);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_evaluationdet_fk_evaluation'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 5
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluationdet ADD CONSTRAINT oe_hrm_evaluationdet_fk_evaluation FOREIGN KEY (fk_evaluation) REFERENCES oe_hrm_evaluation(rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f18d'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_evaluationdet_extrafields-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_evaluationdet_extrafields ADD INDEX idx_evaluationdet_fk_object(fk_object);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_evaluationdet_fk_object'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_job-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_job ADD INDEX idx_hrm_job_rowid (rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_job_rowid'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_job ADD INDEX idx_hrm_job_label (label);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_job_label'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_job_extrafields-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_job_extrafields ADD INDEX idx_job_fk_object(fk_object);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_job_fk_object'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_job_user-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_job_user ADD INDEX idx_hrm_job_user_rowid (rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_job_user_rowid'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_skill-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skill ADD INDEX idx_hrm_skill_rowid (rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_skill_rowid'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skill ADD CONSTRAINT oe_hrm_skill_fk_user_creat FOREIGN KEY (fk_user_creat) REFERENCES oe_user(rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f18d'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skill ADD INDEX idx_hrm_skill_skill_type (skill_type);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_skill_skill_type'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_skill_extrafields-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skill_extrafields ADD INDEX idx_skill_fk_object(fk_object);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_skill_fk_object'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_skilldet-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skilldet ADD INDEX idx_hrm_skilldet_rowid (rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_skilldet_rowid'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skilldet ADD CONSTRAINT oe_hrm_skilldet_fk_user_creat FOREIGN KEY (fk_user_creat) REFERENCES oe_user(rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f18d'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skilldet ADD CONSTRAINT oe_hrm_skilldet_fk_skill FOREIGN KEY (fk_skill) REFERENCES oe_hrm_skill(rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f18d'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_hrm_skillrank-hrm.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skillrank ADD INDEX idx_hrm_skillrank_rowid (rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_skillrank_rowid'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skillrank ADD INDEX idx_hrm_skillrank_fk_skill (fk_skill);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_hrm_skillrank_fk_skill'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skillrank ADD CONSTRAINT oe_hrm_skillrank_fk_user_creat FOREIGN KEY (fk_user_creat) REFERENCES oe_user(rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f18d'
2023-05-06 17:57:23 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=ALTER TABLE oe_hrm_skillrank ADD CONSTRAINT oe_hrm_skillrank_fk_skill FOREIGN KEY (fk_skill) REFERENCES oe_hrm_skill(rowid);
2023-05-06 17:57:23 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f18d'
2023-05-06 17:57:23 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::_active delete activation constant
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_HRM' AND entity IN (0, 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::_active insert activation constant
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_HRM', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_tabs
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ('MAIN_MODULE_HRM_TABS_0', 'chaine', 'user:+skill_tab:Skills:hrm:1:/hrm/skill_tab.php?id=__ID__&objecttype=user', null, '0', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_TRIGGERS
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_TRIGGERS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_LOGIN
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_LOGIN', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_SUBSTITUTIONS
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_SUBSTITUTIONS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_MENUS
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_MENUS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_TPL
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_TPL', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_BARCODE
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_BARCODE', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_MODELS
2023-05-06 17:57:23 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_MODELS', 'chaine', '1', null, '0', 1)
2023-05-06 17:57:23 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_PRINTING
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_PRINTING', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_THEME
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_THEME', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_module_parts for key=MAIN_MODULE_HRM_MODULEFOREXTERNAL
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_HRM_MODULEFOREXTERNAL', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_boxes
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_cronjobs
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_HRM' AND entity IN (0,1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4001 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4001,1,'Read skill/job/position','hrm','w',0,'all','read')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4001 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4001, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4001 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4001 OR (module='hrm' AND perms='all' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4001 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4001)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4002 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4002,1,'Create/modify skill/job/position','hrm','w',0,'all','write')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4002 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4002, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4002 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4002 OR (module='hrm' AND perms='all' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4001 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4001)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4002 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4002)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4003 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4003,1,'Delete skill/job/position','hrm','w',0,'all','delete')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4003 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4003, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4003 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4003 OR (module='hrm' AND perms='all' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4001 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4001)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4003 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4003)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4021 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4021,1,'Read evaluations','hrm','w',0,'evaluation','read')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4021 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4021, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4021 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4021 OR (module='hrm' AND perms='evaluation' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4021 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4021)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4022 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4022,1,'Create/modify your evaluation','hrm','w',0,'evaluation','write')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4022 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4022, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4022 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4022 OR (module='hrm' AND perms='evaluation' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4021 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4021)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4022 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4022)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4023 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4023,1,'Validate evaluation','hrm','w',0,'evaluation_advance','validate')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4023 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4023, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4023 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4023 OR (module='hrm' AND perms='evaluation_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4023 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4023)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4025 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4025,1,'Delete evaluations','hrm','w',0,'evaluation','delete')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4025 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4025, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4025 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4025 OR (module='hrm' AND perms='evaluation' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4021 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4021)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4025 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4025)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4028 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4028,1,'See comparison menu','hrm','w',0,'compare_advance','read')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4028 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4028, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4028 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4028 OR (module='hrm' AND perms='compare_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4028 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4028)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4031 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4031,1,'Read personal information','hrm','w',0,'read_personal_information','read')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4031 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4031, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4031 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4031 OR (module='hrm' AND perms='read_personal_information' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4031 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4031)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4032 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4032,1,'Write personal information','hrm','w',0,'write_personal_information','write')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4032 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4032, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4032 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4032 OR (module='hrm' AND perms='write_personal_information' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4032 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4032)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 4033 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (4033,1,'Read all evaluations','hrm','w',0,'evaluation','readall')
2023-05-06 17:57:24 DEBUG 94.73.40.140 modHRM::insert_permissions Search all admin users
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:24 INFO 94.73.40.140 modHRM::insert_permissions Add permission id 4033 to user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:24 INFO 94.73.40.140 User::addrights 4033, , , 1, 1 for user id=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 4033 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=4033 OR (module='hrm' AND perms='evaluation' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4021 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4021)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 4033 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 4033)
2023-05-06 17:57:24 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:24 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:24 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:24 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '75', 'chaine', 0, '', 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:24 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:24 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:24 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:24 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:24 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:24 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:24 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:24 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:24 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:24 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:24 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:24 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:24 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:24 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:24 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:24 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:24 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:24 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:24 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:24 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:24 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:24 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:24 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:57:29 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:29 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:29 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:29 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:29 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:29 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::_unactive
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_PROPALE' AND entity IN (0, 1)
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_tabs
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_PROPALE_TABS_%' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_boxes
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_propales_permonth.php' AND oe_boxes.entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_boxes
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_propales_permonth.php' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_boxes
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_propales.php' AND oe_boxes.entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_boxes
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_propales.php' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_cronjobs
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'propale' AND entity = 1 AND test = '1'
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_permissions
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'propale' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_menus
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'propale' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::delete_dirs
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_PROPALE_DIR_%' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:29 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::_active delete activation constant
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_PROPALE' AND entity IN (0, 1)
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::_active insert activation constant
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_PROPALE', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::insert_const
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'PROPALE_ADDON_PDF' AND entity = 1
2023-05-06 17:57:29 WARNING 94.73.40.140 modPropale::insert_const constant 'PROPALE_ADDON_PDF' already exists
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'PROPALE_ADDON' AND entity = 1
2023-05-06 17:57:29 WARNING 94.73.40.140 modPropale::insert_const constant 'PROPALE_ADDON' already exists
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'PROPALE_VALIDITY_DURATION' AND entity = 1
2023-05-06 17:57:29 WARNING 94.73.40.140 modPropale::insert_const constant 'PROPALE_VALIDITY_DURATION' already exists
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'PROPALE_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:29 WARNING 94.73.40.140 modPropale::insert_const constant 'PROPALE_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::insert_boxes
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_graph_propales_permonth.php' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::insert_boxes
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_graph_propales_permonth.php', 1, null)
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::insert_boxes onto page 0=Home
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (48, 0, '0', 0, 1)
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_propales.php' AND entity = 1
2023-05-06 17:57:29 DEBUG 94.73.40.140 modPropale::insert_boxes
2023-05-06 17:57:29 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_propales.php', 1, null)
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_boxes onto page 0=Home
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (49, 0, '0', 0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_cronjobs
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_permissions
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_PROPALE' AND entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 21 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (21,1,'Read commercial proposals','propale','r',0,'lire')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modPropale::insert_permissions Add permission id 21 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 21, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 21 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=21 OR (module='propale' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 21 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 21)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 22 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (22,1,'Create and update commercial proposals','propale','w',0,'creer')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modPropale::insert_permissions Add permission id 22 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 22, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 22 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=22 OR (module='propale' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 21 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 21)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 22 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 22)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 24 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (24,1,'Validate commercial proposals','propale','d',0,'propal_advance','validate')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modPropale::insert_permissions Add permission id 24 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 24, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 24 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=24 OR (module='propale' AND perms='propal_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 24 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 24)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 25 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (25,1,'Send commercial proposals to customers','propale','d',0,'propal_advance','send')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modPropale::insert_permissions Add permission id 25 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 25, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 25 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=25 OR (module='propale' AND perms='propal_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 25 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 25)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 26 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (26,1,'Close commercial proposals','propale','d',0,'propal_advance','close')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modPropale::insert_permissions Add permission id 26 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 26, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 26 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=26 OR (module='propale' AND perms='propal_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 26 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 26)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 27 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (27,1,'Delete commercial proposals','propale','d',0,'supprimer')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modPropale::insert_permissions Add permission id 27 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 27, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 27 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=27 OR (module='propale' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 21 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 21)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 27 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 27)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 28 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (28,1,'Exporting commercial proposals and attributes','propale','r',0,'export')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modPropale::insert_permissions Add permission id 28 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 28, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 28 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=28 OR (module='propale' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 21 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 21)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 28 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 28)
2023-05-06 17:57:30 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::_init ignoreerror=0
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'azur' AND type = 'propal' AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 modPropale::_init ignoreerror=0
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('azur','propal',1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::_active delete activation constant
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SOCIETE' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::_active insert activation constant
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_SOCIETE', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_const
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'SOCIETE_CODECLIENT_ADDON' AND entity = 1
2023-05-06 17:57:30 WARNING 94.73.40.140 modSociete::insert_const constant 'SOCIETE_CODECLIENT_ADDON' already exists
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'SOCIETE_CODECOMPTA_ADDON' AND entity = 1
2023-05-06 17:57:30 WARNING 94.73.40.140 modSociete::insert_const constant 'SOCIETE_CODECOMPTA_ADDON' already exists
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'SOCIETE_FISCAL_MONTH_START' AND entity = 1
2023-05-06 17:57:30 WARNING 94.73.40.140 modSociete::insert_const constant 'SOCIETE_FISCAL_MONTH_START' already exists
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'COMPANY_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:30 WARNING 94.73.40.140 modSociete::insert_const constant 'COMPANY_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'SOCIETE_ADD_REF_IN_LIST' AND entity = 1
2023-05-06 17:57:30 WARNING 94.73.40.140 modSociete::insert_const constant 'SOCIETE_ADD_REF_IN_LIST' already exists
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_clients.php' AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_clients.php', 1, null)
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes onto page 0=Home
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (50, 0, '0', 0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_prospect.php' AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_prospect.php', 1, null)
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes onto page 0=Home
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (51, 0, '0', 0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_contacts.php' AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_contacts.php', 1, null)
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes onto page 0=Home
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (52, 0, '0', 0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_activity.php' AND entity = 1 AND note ='(WarningUsingThisBoxSlowDown)'
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_activity.php', 1, '(WarningUsingThisBoxSlowDown)')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes onto page 0=Home
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (53, 0, '0', 0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_goodcustomers.php' AND entity = 1 AND note ='(WarningUsingThisBoxSlowDown)'
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_goodcustomers.php', 1, '(WarningUsingThisBoxSlowDown)')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_boxes onto page 0=Home
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (54, 0, '0', 0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_cronjobs
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_SOCIETE' AND entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 121 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (121,1,'Read third parties','societe','r',0,'lire')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 121 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 121, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 121 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=121 OR (module='societe' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 121 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 121)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 122 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (122,1,'Create and update third parties','societe','w',0,'creer')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 122 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 122, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 122 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=122 OR (module='societe' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 121 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 121)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 122 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 122)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 125 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (125,1,'Delete third parties','societe','d',0,'supprimer')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 125 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 125, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 125 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=125 OR (module='societe' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 121 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 121)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 125 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 125)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 126 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (126,1,'Export third parties','societe','r',0,'export')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 126 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 126, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 126 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=126 OR (module='societe' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 121 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 121)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 126 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 126)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 130 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (130,1,'Modify thirdparty information payment','societe','w',0,'thirdparty_paymentinformation_advance','write')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 130 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 130, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 130 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=130 OR (module='societe' AND perms='thirdparty_paymentinformation_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 130 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 130)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 262 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (262,1,'Read all third parties (and their objects) by internal users (otherwise only if commercial contact). Not effective for external users (limited to themselves).','societe','r',0,'client','voir')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 262 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 262, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 262 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=262 OR (module='societe' AND perms='client' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 262 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 262)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 281 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (281,1,'Read contacts','societe','r',0,'contact','lire')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 281 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 281, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 281 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=281 OR (module='societe' AND perms='contact' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 281 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 281)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 282 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (282,1,'Create and update contact','societe','w',0,'contact','creer')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 282 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 282, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 282 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=282 OR (module='societe' AND perms='contact' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 281 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 281)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 282 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 282)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 283 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (283,1,'Delete contacts','societe','d',0,'contact','supprimer')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 283 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 283, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 283 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=283 OR (module='societe' AND perms='contact' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 281 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 281)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 283 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 283)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 286 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (286,1,'Export contacts','societe','d',0,'contact','export')
2023-05-06 17:57:30 DEBUG 94.73.40.140 modSociete::insert_permissions Search all admin users
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:30 INFO 94.73.40.140 modSociete::insert_permissions Add permission id 286 to user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:30 INFO 94.73.40.140 User::addrights 286, , , 1, 1 for user id=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 286 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=286 OR (module='societe' AND perms='contact' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 281 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 281)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 286 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 286)
2023-05-06 17:57:30 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:30 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:30 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:30 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '76', 'chaine', 0, '', 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:30 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:30 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:30 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:30 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:30 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:30 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:30 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:30 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:30 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:30 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:30 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:30 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:30 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:30 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:30 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:30 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:30 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:30 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:30 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:30 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:30 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:30 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:30 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:30 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:31 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::_unactive
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_COMMANDE' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_tabs
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_COMMANDE_TABS_%' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_commandes.php' AND oe_boxes.entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_commandes.php' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_orders_permonth.php' AND oe_boxes.entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_orders_permonth.php' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_cronjobs
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'commande' AND entity = 1 AND test = '1'
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_permissions
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'commande' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_menus
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'commande' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::delete_dirs
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_COMMANDE_DIR_%' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::_active delete activation constant
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_COMMANDE' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::_active insert activation constant
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_COMMANDE', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'COMMANDE_ADDON_PDF' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modCommande::insert_const constant 'COMMANDE_ADDON_PDF' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'COMMANDE_ADDON' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modCommande::insert_const constant 'COMMANDE_ADDON' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'COMMANDE_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modCommande::insert_const constant 'COMMANDE_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_commandes.php' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_commandes.php', 1, null)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_boxes onto page 0=Home
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (55, 0, '0', 0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_graph_orders_permonth.php' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_graph_orders_permonth.php', 1, null)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_boxes onto page 0=Home
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (56, 0, '0', 0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_cronjobs
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_COMMANDE' AND entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 81 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (81,1,'Read sales orders','commande','r',0,'lire')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 81 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 81, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 81 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=81 OR (module='commande' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 81 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 81)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 82 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (82,1,'Creeat/modify sales orders','commande','w',0,'creer')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 82 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 82, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 82 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=82 OR (module='commande' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 81 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 81)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 82 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 82)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 84 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (84,1,'Validate sales orders','commande','d',0,'order_advance','validate')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 84 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 84, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 84 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=84 OR (module='commande' AND perms='order_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 84 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 84)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 85 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (85,1,'Generate the documents sales orders','commande','d',0,'order_advance','generetedoc')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 85 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 85, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 85 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=85 OR (module='commande' AND perms='order_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 85 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 85)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 86 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (86,1,'Send sales orders by email','commande','d',0,'order_advance','send')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 86 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 86, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 86 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=86 OR (module='commande' AND perms='order_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 86 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 86)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 87 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (87,1,'Close sale orders','commande','d',0,'order_advance','close')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 87 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 87, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 87 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=87 OR (module='commande' AND perms='order_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 87 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 87)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 88 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (88,1,'Cancel sale orders','commande','d',0,'order_advance','annuler')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 88 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 88, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 88 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=88 OR (module='commande' AND perms='order_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 88 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 88)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 89 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (89,1,'Delete sales orders','commande','d',0,'supprimer')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 89 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 89, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 89 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=89 OR (module='commande' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 81 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 81)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 89 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 89)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1421 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1421,1,'Export sales orders and attributes','commande','r',0,'commande','export')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modCommande::insert_permissions Add permission id 1421 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 1421, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1421 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1421 OR (module='commande' AND perms='commande' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1421 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1421)
2023-05-06 17:57:31 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::_init ignoreerror=0
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'einstein' AND type = 'order' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modCommande::_init ignoreerror=0
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('einstein', 'order', 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '77', 'chaine', 0, '', 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:31 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:31 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:31 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:31 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:31 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:31 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:31 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:31 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:31 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:31 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:31 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:31 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:31 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:31 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:31 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:31 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:31 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:31 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:31 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:31 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:31 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:31 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:31 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::_unactive
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_EXPEDITION' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::delete_tabs
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_EXPEDITION_TABS_%' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::delete_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_shipments.php' AND oe_boxes.entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::delete_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_shipments.php' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::delete_cronjobs
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'expedition' AND entity = 1 AND test = '1'
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::delete_permissions
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'expedition' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::delete_menus
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'expedition' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::delete_dirs
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_EXPEDITION_DIR_%' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::_active delete activation constant
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_EXPEDITION' AND entity IN (0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::_active insert activation constant
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_EXPEDITION', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_const
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'EXPEDITION_ADDON_PDF' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modExpedition::insert_const constant 'EXPEDITION_ADDON_PDF' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'EXPEDITION_ADDON_NUMBER' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modExpedition::insert_const constant 'EXPEDITION_ADDON_NUMBER' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'EXPEDITION_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modExpedition::insert_const constant 'EXPEDITION_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'DELIVERY_ADDON_PDF' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modExpedition::insert_const constant 'DELIVERY_ADDON_PDF' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'DELIVERY_ADDON_NUMBER' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modExpedition::insert_const constant 'DELIVERY_ADDON_NUMBER' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'DELIVERY_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modExpedition::insert_const constant 'DELIVERY_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'MAIN_SUBMODULE_EXPEDITION' AND entity = 1
2023-05-06 17:57:31 WARNING 94.73.40.140 modExpedition::insert_const constant 'MAIN_SUBMODULE_EXPEDITION' already exists
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_shipments.php' AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_boxes
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_shipments.php', 1, null)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_boxes onto page 0=Home
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (57, 0, '0', 0, 1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_cronjobs
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_permissions
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_EXPEDITION' AND entity IN (0,1)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 101 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (101,1,'Lire les expeditions','expedition','r',0,'lire')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 101 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 101, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 101 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=101 OR (module='expedition' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 101 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 101)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 102 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (102,1,'Creer modifier les expeditions','expedition','w',0,'creer')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 102 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 102, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 102 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=102 OR (module='expedition' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 101 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 101)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 102 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 102)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 104 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (104,1,'Valider les expeditions','expedition','d',0,'shipping_advance','validate')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 104 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 104, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 104 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=104 OR (module='expedition' AND perms='shipping_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 104 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 104)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 105 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (105,1,'Envoyer les expeditions aux clients','expedition','d',0,'shipping_advance','send')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:31 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 105 to user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:31 INFO 94.73.40.140 User::addrights 105, , , 1, 1 for user id=1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 105 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=105 OR (module='expedition' AND perms='shipping_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 105 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 105)
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 106 AND entity = 1
2023-05-06 17:57:31 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (106,1,'Exporter les expeditions','expedition','r',0,'shipment','export')
2023-05-06 17:57:31 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:32 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 106 to user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:32 INFO 94.73.40.140 User::addrights 106, , , 1, 1 for user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 106 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=106 OR (module='expedition' AND perms='shipment' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 106 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 106)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 109 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (109,1,'Supprimer les expeditions','expedition','d',0,'supprimer')
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:32 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 109 to user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:32 INFO 94.73.40.140 User::addrights 109, , , 1, 1 for user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 109 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=109 OR (module='expedition' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 101 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 101)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 109 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 109)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1101 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1101,1,'Read delivery receipts','expedition','r',0,'delivery','lire')
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:32 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 1101 to user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:32 INFO 94.73.40.140 User::addrights 1101, , , 1, 1 for user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1101 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1101 OR (module='expedition' AND perms='delivery' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1101 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1101)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1102 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1102,1,'Create/modify delivery receipts','expedition','w',0,'delivery','creer')
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:32 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 1102 to user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:32 INFO 94.73.40.140 User::addrights 1102, , , 1, 1 for user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1102 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1102 OR (module='expedition' AND perms='delivery' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1101 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1101)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1102 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1102)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1104 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1104,1,'Validate delivery receipts','expedition','d',0,'delivery_advance','validate')
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:32 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 1104 to user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:32 INFO 94.73.40.140 User::addrights 1104, , , 1, 1 for user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1104 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1104 OR (module='expedition' AND perms='delivery_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1104 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1104)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1109 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1109,1,'Delete delivery receipts','expedition','d',0,'delivery','supprimer')
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::insert_permissions Search all admin users
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:32 INFO 94.73.40.140 modExpedition::insert_permissions Add permission id 1109 to user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:32 INFO 94.73.40.140 User::addrights 1109, , , 1, 1 for user id=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1109 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1109 OR (module='expedition' AND perms='delivery' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1101 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1101)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1109 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1109)
2023-05-06 17:57:32 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::_init ignoreerror=0
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'rouget' AND type = 'shipping' AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::_init ignoreerror=0
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('rouget','shipping',1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::_init ignoreerror=0
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'typhon' AND type = 'delivery' AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 modExpedition::_init ignoreerror=0
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('typhon','delivery',1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:32 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '78', 'chaine', 0, '', 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:32 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:32 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:32 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:32 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:32 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:32 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:32 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:32 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:32 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:32 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:32 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:32 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:32 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:32 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:32 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:32 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:32 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:32 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:32 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:32 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:32 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:32 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:32 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:32 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:32 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:32 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:32 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:57:33 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:33 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:33 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::_unactive
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FICHEINTER' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::delete_tabs
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_FICHEINTER_TABS_%' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::delete_boxes
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_ficheinter.php' AND oe_boxes.entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::delete_boxes
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_ficheinter.php' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::delete_cronjobs
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'ficheinter' AND entity = 1 AND test = '1'
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::delete_permissions
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'ficheinter' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::delete_menus
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'ficheinter' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::delete_dirs
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_FICHEINTER_DIR_%' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::_active delete activation constant
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FICHEINTER' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::_active insert activation constant
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_FICHEINTER', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_const
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'FICHEINTER_ADDON_PDF' AND entity = 1
2023-05-06 17:57:33 WARNING 94.73.40.140 modFicheinter::insert_const constant 'FICHEINTER_ADDON_PDF' already exists
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'FICHEINTER_ADDON' AND entity = 1
2023-05-06 17:57:33 WARNING 94.73.40.140 modFicheinter::insert_const constant 'FICHEINTER_ADDON' already exists
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_boxes
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_ficheinter.php' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_boxes
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_ficheinter.php', 1, null)
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_boxes onto page 0=Home
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (58, 0, '0', 0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_cronjobs
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_permissions
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_FICHEINTER' AND entity IN (0,1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 61 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (61,1,'Lire les fiches d\'intervention','ficheinter','r',0,'lire')
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_permissions Search all admin users
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:33 INFO 94.73.40.140 modFicheinter::insert_permissions Add permission id 61 to user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:33 INFO 94.73.40.140 User::addrights 61, , , 1, 1 for user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 61 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=61 OR (module='ficheinter' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 61 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 61)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 62 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (62,1,'Creer/modifier les fiches d\'intervention','ficheinter','w',0,'creer')
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_permissions Search all admin users
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:33 INFO 94.73.40.140 modFicheinter::insert_permissions Add permission id 62 to user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:33 INFO 94.73.40.140 User::addrights 62, , , 1, 1 for user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 62 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=62 OR (module='ficheinter' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 61 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 61)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 62 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 62)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 64 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (64,1,'Supprimer les fiches d\'intervention','ficheinter','d',0,'supprimer')
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_permissions Search all admin users
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:33 INFO 94.73.40.140 modFicheinter::insert_permissions Add permission id 64 to user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:33 INFO 94.73.40.140 User::addrights 64, , , 1, 1 for user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 64 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=64 OR (module='ficheinter' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 61 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 61)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 64 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 64)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 67 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (67,1,'Exporter les fiches interventions','ficheinter','r',0,'export')
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_permissions Search all admin users
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:33 INFO 94.73.40.140 modFicheinter::insert_permissions Add permission id 67 to user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:33 INFO 94.73.40.140 User::addrights 67, , , 1, 1 for user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 67 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=67 OR (module='ficheinter' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 61 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 61)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 67 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 67)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 68 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (68,1,'Envoyer les fiches d\'intervention par courriel','ficheinter','r',0,'ficheinter_advance','send')
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_permissions Search all admin users
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:33 INFO 94.73.40.140 modFicheinter::insert_permissions Add permission id 68 to user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:33 INFO 94.73.40.140 User::addrights 68, , , 1, 1 for user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 68 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=68 OR (module='ficheinter' AND perms='ficheinter_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 68 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 68)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 69 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (69,1,'Valider les fiches d\'intervention ','ficheinter','a',0,'ficheinter_advance','validate')
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_permissions Search all admin users
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:33 INFO 94.73.40.140 modFicheinter::insert_permissions Add permission id 69 to user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:33 INFO 94.73.40.140 User::addrights 69, , , 1, 1 for user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 69 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=69 OR (module='ficheinter' AND perms='ficheinter_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 69 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 69)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 70 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (70,1,'Dévalider les fiches d\'intervention','ficheinter','a',0,'ficheinter_advance','unvalidate')
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::insert_permissions Search all admin users
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:33 INFO 94.73.40.140 modFicheinter::insert_permissions Add permission id 70 to user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:33 INFO 94.73.40.140 User::addrights 70, , , 1, 1 for user id=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 70 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=70 OR (module='ficheinter' AND perms='ficheinter_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 70 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 70)
2023-05-06 17:57:33 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::_init ignoreerror=0
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'soleil' AND type = 'ficheinter' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 modFicheinter::_init ignoreerror=0
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('soleil','ficheinter',1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '79', 'chaine', 0, '', 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:33 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:33 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:33 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:33 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:33 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:33 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:33 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:33 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:33 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:33 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:33 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:33 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:33 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:33 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:33 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:33 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:33 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:33 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:33 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:33 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:33 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:33 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:33 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:33 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:33 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:33 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:33 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:57:34 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:34 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:34 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:34 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_categorie_ticket-ticket.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=create table oe_categorie_ticket ( fk_categorie integer NOT NULL, fk_ticket integer NOT NULL, import_key varchar(14) )ENGINE=innodb;
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_categorie_ticket' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_ticket-ticket.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=CREATE TABLE oe_ticket ( rowid integer AUTO_INCREMENT PRIMARY KEY, entity integer DEFAULT 1, ref varchar(128) NOT NULL, track_id varchar(128) NOT NULL, fk_soc integer DEFAULT 0, fk_project integer DEFAULT 0, origin_email varchar(128), fk_user_create integer, fk_user_assign integer, subject varchar(255), message mediumtext, fk_statut integer, resolution integer, progress integer DEFAULT 0, timing varchar(20), type_code varchar(32), category_code varchar(32), severity_code varchar(32), datec datetime, date_read datetime, date_last_msg_sent datetime, date_close datetime, notify_tiers_at_create tinyint, email_msgid varchar(255), email_date datetime, ip varchar(250), tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, import_key varchar(14) )ENGINE=innodb;
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_ticket' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_ticket_extrafields-ticket.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=create table oe_ticket_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) )ENGINE=innodb;
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_ticket_extrafields' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_categorie_ticket-ticket.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_ticket ADD PRIMARY KEY pk_categorie_ticket (fk_categorie, fk_ticket);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_PRIMARY_KEY_ALREADY_EXISTS Multiple primary key defined
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_ticket ADD INDEX idx_categorie_ticket_fk_categorie (fk_categorie);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_categorie_ticket_fk_categorie'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_ticket ADD INDEX idx_categorie_ticket_fk_ticket (fk_ticket);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_categorie_ticket_fk_ticket'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_ticket ADD CONSTRAINT fk_categorie_ticket_categorie_rowid FOREIGN KEY (fk_categorie) REFERENCES oe_categorie (rowid);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f252'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 5
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_ticket ADD CONSTRAINT fk_categorie_ticket_ticket_rowid FOREIGN KEY (fk_ticket) REFERENCES oe_ticket (rowid);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f252'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_ticket-ticket.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_ticket ADD UNIQUE uk_ticket_track_id (track_id);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'uk_ticket_track_id'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_ticket ADD UNIQUE uk_ticket_ref (ref, entity);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'uk_ticket_ref'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_ticket ADD INDEX idx_ticket_entity (entity);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_ticket_entity'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_ticket ADD INDEX idx_ticket_fk_soc (fk_soc);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_ticket_fk_soc'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 5
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_ticket ADD INDEX idx_ticket_fk_user_assign (fk_user_assign);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_ticket_fk_user_assign'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 6
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_ticket ADD INDEX idx_ticket_fk_project (fk_project);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_ticket_fk_project'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 7
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_ticket ADD INDEX idx_ticket_fk_statut (fk_statut);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_ticket_fk_statut'
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_ticket_extrafields-ticket.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:34 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=ALTER TABLE oe_ticket_extrafields ADD INDEX idx_ticket_extrafields (fk_object);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_ticket_extrafields'
2023-05-06 17:57:34 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_unactive
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_TICKET' AND entity IN (0, 1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_tabs
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_TICKET_TABS_%' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_module_parts
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_TICKET_TRIGGERS' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_last_ticket.php' AND oe_boxes.entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_last_ticket.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_last_modified_ticket.php' AND oe_boxes.entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_last_modified_ticket.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_ticket_by_severity.php' AND oe_boxes.entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_ticket_by_severity.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_nb_ticket_last_x_days.php' AND oe_boxes.entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_nb_ticket_last_x_days.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_nb_tickets_type.php' AND oe_boxes.entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_nb_tickets_type.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_new_vs_close_ticket.php' AND oe_boxes.entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_new_vs_close_ticket.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_cronjobs
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'ticket' AND entity = 1 AND test = '1'
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_permissions
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'ticket' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_menus
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'ticket' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::delete_dirs
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_TICKET_DIR_%' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:34 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_active delete activation constant
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_TICKET' AND entity IN (0, 1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_active insert activation constant
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_TICKET', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_tabs
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ('MAIN_MODULE_TICKET_TABS_0', 'chaine', 'thirdparty:+ticket:Tickets:ticket:$user->rights->ticket->read:/ticket/list.php?socid=__ID__', null, '0', 1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_module_parts for key=MAIN_MODULE_TICKET_TRIGGERS
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_TICKET_TRIGGERS', 'chaine', '1', null, '0', 1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_const
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_ENABLE_PUBLIC_INTERFACE' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_ENABLE_PUBLIC_INTERFACE' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_ADDON' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_ADDON' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_AUTO_READ_WHEN_CREATED_FROM_BACKEND' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_AUTO_READ_WHEN_CREATED_FROM_BACKEND' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_DELAY_BEFORE_FIRST_RESPONSE' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_DELAY_BEFORE_FIRST_RESPONSE' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_DELAY_SINCE_LAST_RESPONSE' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_DELAY_SINCE_LAST_RESPONSE' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_NOTIFY_AT_CLOSING' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_NOTIFY_AT_CLOSING' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_PRODUCT_CATEGORY' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_PRODUCT_CATEGORY' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_NOTIFICATION_EMAIL_FROM' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_NOTIFICATION_EMAIL_FROM' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_MESSAGE_MAIL_INTRO' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_MESSAGE_MAIL_INTRO' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'TICKET_MESSAGE_MAIL_SIGNATURE' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'TICKET_MESSAGE_MAIL_SIGNATURE' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'MAIN_EMAILCOLLECTOR_MAIL_WITHOUT_HEADER' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'MAIN_EMAILCOLLECTOR_MAIL_WITHOUT_HEADER' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'MAIN_SECURITY_ENABLECAPTCHA_TICKET' AND entity = 1
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::insert_const constant 'MAIN_SECURITY_ENABLECAPTCHA_TICKET' already exists
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_last_ticket.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_last_ticket.php', 1, null)
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes onto page 0=Home
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (59, 0, '0', 0, 1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_last_modified_ticket.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_last_modified_ticket.php', 1, null)
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes onto page 0=Home
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (60, 0, '0', 0, 1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_ticket_by_severity.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_ticket_by_severity.php', 1, null)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_graph_nb_ticket_last_x_days.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_graph_nb_ticket_last_x_days.php', 1, null)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_graph_nb_tickets_type.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_graph_nb_tickets_type.php', 1, null)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_new_vs_close_ticket.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_boxes
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_new_vs_close_ticket.php', 1, null)
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_cronjobs
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_permissions
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_TICKET' AND entity IN (0,1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 56001 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (56001,1,'Read ticket','ticket','r',0,'read')
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_permissions Search all admin users
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:34 INFO 94.73.40.140 modTicket::insert_permissions Add permission id 56001 to user id=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:34 INFO 94.73.40.140 User::addrights 56001, , , 1, 1 for user id=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 56001 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=56001 OR (module='ticket' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 56001 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 56001)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 56002 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (56002,1,'Create les tickets','ticket','w',0,'write')
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_permissions Search all admin users
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:34 INFO 94.73.40.140 modTicket::insert_permissions Add permission id 56002 to user id=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:34 INFO 94.73.40.140 User::addrights 56002, , , 1, 1 for user id=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 56002 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=56002 OR (module='ticket' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 56001 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 56001)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 56002 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 56002)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 56003 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (56003,1,'Delete les tickets','ticket','d',0,'delete')
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_permissions Search all admin users
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:34 INFO 94.73.40.140 modTicket::insert_permissions Add permission id 56003 to user id=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:34 INFO 94.73.40.140 User::addrights 56003, , , 1, 1 for user id=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 56003 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=56003 OR (module='ticket' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 56001 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 56001)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 56003 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 56003)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 56004 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (56004,1,'Manage tickets','ticket','w',0,'manage')
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_permissions Search all admin users
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:34 INFO 94.73.40.140 modTicket::insert_permissions Add permission id 56004 to user id=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:34 INFO 94.73.40.140 User::addrights 56004, , , 1, 1 for user id=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 56004 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=56004 OR (module='ticket' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 56001 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 56001)
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 56004 AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 56004)
2023-05-06 17:57:34 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::insert_menus
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 101 AND url = '/ticket/index.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'ticket', 'left', 'ticket', 'ticket', -1, 'ticket', null, 101, '/ticket/index.php', '', 'Ticket', '<span class=\"fas fa-ticket-alt infobox-contrat paddingright pictofixedwidth em092\" style=\"\"></span>', 'ticket', '$user->rights->ticket->read', '$conf->ticket->enabled', '2')
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create record added has rowid=64
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 102 AND url = '/ticket/card.php?action=create' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'ticket', 'left', 'ticket', null, -1, 'ticket', 'ticket', 102, '/ticket/card.php?action=create', '', 'NewTicket', '', 'ticket', '$user->rights->ticket->write', '$conf->ticket->enabled', '2')
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create record added has rowid=65
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 103 AND url = '/ticket/list.php?search_fk_status=non_closed' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'ticket', 'left', 'ticket', 'ticketlist', -1, 'ticket', 'ticket', 103, '/ticket/list.php?search_fk_status=non_closed', '', 'List', '', 'ticket', '$user->rights->ticket->read', '$conf->ticket->enabled', '2')
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create record added has rowid=66
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 105 AND url = '/ticket/list.php?mode=mine&search_fk_status=non_closed' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'ticket', 'left', 'ticket', 'ticketmy', -1, 'ticket', 'ticket', 105, '/ticket/list.php?mode=mine&search_fk_status=non_closed', '', 'MenuTicketMyAssign', '', 'ticket', '$user->rights->ticket->read', '$conf->ticket->enabled', '0')
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create record added has rowid=67
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 107 AND url = '/ticket/stats/index.php' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'ticket', 'left', 'ticket', null, -1, 'ticket', 'ticket', 107, '/ticket/stats/index.php', '', 'Statistics', '', 'ticket', '$user->rights->ticket->read', '$conf->ticket->enabled', '0')
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create record added has rowid=68
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 107 AND url = '/categories/index.php?type=12' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'ticket', 'left', 'ticket', null, -1, 'ticket', 'ticket', 107, '/categories/index.php?type=12', '', 'Categories', '', 'ticket', '$user->rights->ticket->read', '$conf->categorie->enabled', '0')
2023-05-06 17:57:34 DEBUG 94.73.40.140 Menubase::create record added has rowid=69
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_init ignoreerror=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (110120, 'ticket', 'internal', 'SUPPORTTEC', 'Utilisateur assigné au ticket', 1);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_NOSUCHTABLE Table 'iymllvj3355.llx_c_type_contact' doesn't exist
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::_init Warning Table 'iymllvj3355.llx_c_type_contact' doesn't exist
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_init ignoreerror=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (110121, 'ticket', 'internal', 'CONTRIBUTOR', 'Intervenant', 1);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_NOSUCHTABLE Table 'iymllvj3355.llx_c_type_contact' doesn't exist
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::_init Warning Table 'iymllvj3355.llx_c_type_contact' doesn't exist
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_init ignoreerror=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (110122, 'ticket', 'external', 'SUPPORTCLI', 'Contact client suivi incident', 1);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_NOSUCHTABLE Table 'iymllvj3355.llx_c_type_contact' doesn't exist
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::_init Warning Table 'iymllvj3355.llx_c_type_contact' doesn't exist
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_init ignoreerror=1
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=insert into llx_c_type_contact(rowid, element, source, code, libelle, active ) values (110123, 'ticket', 'external', 'CONTRIBUTOR', 'Intervenant', 1);
2023-05-06 17:57:34 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_NOSUCHTABLE Table 'iymllvj3355.llx_c_type_contact' doesn't exist
2023-05-06 17:57:34 WARNING 94.73.40.140 modTicket::_init Warning Table 'iymllvj3355.llx_c_type_contact' doesn't exist
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_init ignoreerror=0
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'TICKET_ADDON_PDF_ODT_PATH' AND type = 'ticket' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 modTicket::_init ignoreerror=0
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('TICKET_ADDON_PDF_ODT_PATH','ticket',1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:34 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:34 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:34 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '80', 'chaine', 0, '', 1)
2023-05-06 17:57:34 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:34 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:34 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:35 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:35 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:35 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:35 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:35 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:35 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:35 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:35 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:35 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:35 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:35 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:35 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:35 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:35 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:35 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:35 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:35 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:35 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:35 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:35 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:35 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:35 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:35 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:35 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:35 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:35 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:35 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:35 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:57:36 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:36 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:36 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:36 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:36 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:36 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::_unactive
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_CONTRAT' AND entity IN (0, 1)
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_tabs
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_CONTRAT_TABS_%' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_boxes
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_contracts.php' AND oe_boxes.entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_boxes
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_contracts.php' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_boxes
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_services_expired.php' AND oe_boxes.entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_boxes
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_services_expired.php' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_cronjobs
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'contrat' AND entity = 1 AND test = '1'
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_permissions
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'contrat' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_menus
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'contrat' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::delete_dirs
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_CONTRAT_DIR_%' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:36 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::_active delete activation constant
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_CONTRAT' AND entity IN (0, 1)
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::_active insert activation constant
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_CONTRAT', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_const
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'CONTRACT_ADDON' AND entity = 1
2023-05-06 17:57:36 WARNING 94.73.40.140 modContrat::insert_const constant 'CONTRACT_ADDON' already exists
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'CONTRACT_ADDON_PDF' AND entity = 1
2023-05-06 17:57:36 WARNING 94.73.40.140 modContrat::insert_const constant 'CONTRACT_ADDON_PDF' already exists
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'CONTRACT_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:36 WARNING 94.73.40.140 modContrat::insert_const constant 'CONTRACT_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_boxes
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_contracts.php' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_boxes
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_contracts.php', 1, null)
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_boxes onto page 0=Home
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (65, 0, '0', 0, 1)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_services_expired.php' AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_boxes
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_services_expired.php', 1, null)
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_boxes onto page 0=Home
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (66, 0, '0', 0, 1)
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_cronjobs
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_permissions
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_CONTRAT' AND entity IN (0,1)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 161 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (161,1,'Lire les contrats','contrat','r',0,'lire')
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_permissions Search all admin users
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:36 INFO 94.73.40.140 modContrat::insert_permissions Add permission id 161 to user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:36 INFO 94.73.40.140 User::addrights 161, , , 1, 1 for user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 161 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=161 OR (module='contrat' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 161 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 161)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 162 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (162,1,'Creer / modifier les contrats','contrat','w',0,'creer')
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_permissions Search all admin users
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:36 INFO 94.73.40.140 modContrat::insert_permissions Add permission id 162 to user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:36 INFO 94.73.40.140 User::addrights 162, , , 1, 1 for user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 162 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=162 OR (module='contrat' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 161 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 161)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 162 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 162)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 163 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (163,1,'Activer un service d\'un contrat','contrat','w',0,'activer')
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_permissions Search all admin users
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:36 INFO 94.73.40.140 modContrat::insert_permissions Add permission id 163 to user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:36 INFO 94.73.40.140 User::addrights 163, , , 1, 1 for user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 163 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=163 OR (module='contrat' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 161 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 161)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 163 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 163)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 164 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (164,1,'Desactiver un service d\'un contrat','contrat','w',0,'desactiver')
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_permissions Search all admin users
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:36 INFO 94.73.40.140 modContrat::insert_permissions Add permission id 164 to user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:36 INFO 94.73.40.140 User::addrights 164, , , 1, 1 for user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 164 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=164 OR (module='contrat' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 161 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 161)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 164 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 164)
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 165 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (165,1,'Supprimer un contrat','contrat','d',0,'supprimer')
2023-05-06 17:57:36 DEBUG 94.73.40.140 modContrat::insert_permissions Search all admin users
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:36 INFO 94.73.40.140 modContrat::insert_permissions Add permission id 165 to user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:36 INFO 94.73.40.140 User::addrights 165, , , 1, 1 for user id=1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 165 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=165 OR (module='contrat' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 161 AND entity = 1
2023-05-06 17:57:36 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 161)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 165 AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 165)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 167 AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (167,1,'Export contracts','contrat','r',0,'export')
2023-05-06 17:57:37 DEBUG 94.73.40.140 modContrat::insert_permissions Search all admin users
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:37 INFO 94.73.40.140 modContrat::insert_permissions Add permission id 167 to user id=1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:37 INFO 94.73.40.140 User::addrights 167, , , 1, 1 for user id=1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 167 AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=167 OR (module='contrat' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 161 AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 161)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 167 AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 167)
2023-05-06 17:57:37 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:37 DEBUG 94.73.40.140 modContrat::_init ignoreerror=0
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'strato' AND type = 'contract' AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 modContrat::_init ignoreerror=0
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('strato', 'contract', 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:37 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '81', 'chaine', 0, '', 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:37 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:37 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:37 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:37 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:37 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:37 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:37 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:37 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:37 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:37 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:37 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:37 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:37 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:37 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:37 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:37 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:37 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:37 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:37 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:37 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:37 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:37 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:57:47 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:47 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:47 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:47 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_categorie_knowledgemanagement-knowledgemanagement.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=create table oe_categorie_knowledgemanagement( fk_categorie integer NOT NULL, fk_knowledgemanagement integer NOT NULL, import_key varchar(14) )ENGINE=innodb;
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_categorie_knowledgemanagement' already exists
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_knowledgemanagement_knowledgerecord-knowledgemanagement.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=CREATE TABLE oe_knowledgemanagement_knowledgerecord( rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL, entity integer DEFAULT 1 NOT NULL, ref varchar(128) NOT NULL, date_creation datetime NOT NULL, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, last_main_doc varchar(255), lang varchar(6), fk_user_creat integer NOT NULL, fk_user_modif integer, fk_user_valid integer, import_key varchar(14), model_pdf varchar(255), question text NOT NULL, answer text, url varchar(255), fk_ticket integer, fk_c_ticket_category integer, status integer NOT NULL ) ENGINE=innodb;
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_knowledgemanagement_knowledgerecord' already exists
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_knowledgemanagement_knowledgerecord_extrafields-knowledgemanagement.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=create table oe_knowledgemanagement_knowledgerecord_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) ) ENGINE=innodb;
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_knowledgemanagement_knowledgerecord_extrafields' already exists
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_categorie_knowledgemanagement-knowledgemanagement.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_knowledgemanagement ADD PRIMARY KEY pk_categorie_knowledgemanagement (fk_categorie, fk_knowledgemanagement);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_PRIMARY_KEY_ALREADY_EXISTS Multiple primary key defined
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_knowledgemanagement ADD INDEX idx_categorie_knowledgemanagement_fk_categorie (fk_categorie);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_categorie_knowledgemanagement_fk_categorie'
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_knowledgemanagement ADD INDEX idx_categorie_knowledgemanagement_fk_knowledgemanagement (fk_knowledgemanagement);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_categorie_knowledgemanagement_fk_knowledgemanagement'
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_knowledgemanagement ADD CONSTRAINT fk_categorie_knowledgemanagement_categorie_rowid FOREIGN KEY (fk_categorie) REFERENCES oe_categorie (rowid);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f290'
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 5
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_categorie_knowledgemanagement ADD CONSTRAINT fk_categorie_knowledgemanagement_knowledgemanagement_rowid FOREIGN KEY (fk_knowledgemanagement) REFERENCES oe_knowledgemanagement_knowledgerecord (rowid);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f290'
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_knowledgemanagement_knowledgerecord-knowledgemanagement.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_knowledgemanagement_knowledgerecord ADD INDEX idx_knowledgemanagement_knowledgerecord_rowid (rowid);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_knowledgemanagement_knowledgerecord_rowid'
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 2
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_knowledgemanagement_knowledgerecord ADD INDEX idx_knowledgemanagement_knowledgerecord_ref (ref);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_knowledgemanagement_knowledgerecord_ref'
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 3
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_knowledgemanagement_knowledgerecord ADD CONSTRAINT oe_knowledgemanagement_knowledgerecord_fk_user_creat FOREIGN KEY (fk_user_creat) REFERENCES oe_user(rowid);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Can't write; duplicate key in table '#sql-16_21f290'
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 4
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_knowledgemanagement_knowledgerecord ADD INDEX idx_knowledgemanagement_knowledgerecord_status (status);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_knowledgemanagement_knowledgerecord_status'
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_knowledgemanagement_knowledgerecord_extrafields-knowledgemanagement.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:57:47 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=ALTER TABLE oe_knowledgemanagement_knowledgerecord_extrafields ADD INDEX idx_knowledgerecord_fk_object(fk_object);
2023-05-06 17:57:47 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'idx_knowledgerecord_fk_object'
2023-05-06 17:57:47 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::_unactive
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_KNOWLEDGEMANAGEMENT' AND entity IN (0, 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::delete_tabs
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_TABS_%' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::delete_module_parts
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_TRIGGERS' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_LOGIN' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_SUBSTITUTIONS' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_MENUS' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_TPL' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_BARCODE' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_MODELS' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_PRINTING' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_THEME' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_CSS' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_JS' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_HOOKS' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_MODULEFOREXTERNAL' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::delete_cronjobs
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'knowledgemanagement' AND entity = 1 AND test = '1'
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::delete_permissions
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'knowledgemanagement' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::delete_menus
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'knowledgemanagement' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::delete_dirs
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_DIR_%' AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:47 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::_active delete activation constant
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_KNOWLEDGEMANAGEMENT' AND entity IN (0, 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::_active insert activation constant
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_KNOWLEDGEMANAGEMENT', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_TRIGGERS
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_TRIGGERS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_LOGIN
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_LOGIN', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_SUBSTITUTIONS
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_SUBSTITUTIONS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_MENUS
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_MENUS', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_TPL
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_TPL', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_BARCODE
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_BARCODE', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_MODELS
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_MODELS', 'chaine', '1', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_PRINTING
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_PRINTING', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_THEME
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_THEME', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_module_parts for key=MAIN_MODULE_KNOWLEDGEMANAGEMENT_MODULEFOREXTERNAL
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, type, value, note, visible, entity) VALUES ( 'MAIN_MODULE_KNOWLEDGEMANAGEMENT_MODULEFOREXTERNAL', 'chaine', '0', null, '0', 1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_boxes
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_cronjobs
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_permissions
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_KNOWLEDGEMANAGEMENT' AND entity IN (0,1)
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 57001 AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (57001,1,'Read articles','knowledgemanagement','w',0,'knowledgerecord','read')
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_permissions Search all admin users
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:47 INFO 94.73.40.140 modKnowledgeManagement::insert_permissions Add permission id 57001 to user id=1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:47 INFO 94.73.40.140 User::addrights 57001, , , 1, 1 for user id=1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 57001 AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=57001 OR (module='knowledgemanagement' AND perms='knowledgerecord' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 57001 AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 57001)
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 57002 AND entity = 1
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (57002,1,'Create/Update articles','knowledgemanagement','w',0,'knowledgerecord','write')
2023-05-06 17:57:47 DEBUG 94.73.40.140 modKnowledgeManagement::insert_permissions Search all admin users
2023-05-06 17:57:47 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:48 INFO 94.73.40.140 modKnowledgeManagement::insert_permissions Add permission id 57002 to user id=1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:48 INFO 94.73.40.140 User::addrights 57002, , , 1, 1 for user id=1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 57002 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=57002 OR (module='knowledgemanagement' AND perms='knowledgerecord' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 57001 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 57001)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 57002 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 57002)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 57003 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (57003,1,'Delete articles','knowledgemanagement','w',0,'knowledgerecord','delete')
2023-05-06 17:57:48 DEBUG 94.73.40.140 modKnowledgeManagement::insert_permissions Search all admin users
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:48 INFO 94.73.40.140 modKnowledgeManagement::insert_permissions Add permission id 57003 to user id=1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:48 INFO 94.73.40.140 User::addrights 57003, , , 1, 1 for user id=1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 57003 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=57003 OR (module='knowledgemanagement' AND perms='knowledgerecord' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 57001 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 57001)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 57003 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 57003)
2023-05-06 17:57:48 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:48 DEBUG 94.73.40.140 modKnowledgeManagement::insert_menus
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 101 AND url = '/knowledgemanagement/knowledgerecord_list.php' AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'knowledgemanagement', 'left', 'ticket', 'knowledgemanagement_knowledgerecord', -1, 'ticket', null, 101, '/knowledgemanagement/knowledgerecord_list.php', '', 'MenuKnowledgeRecord', '<span class=\"fas fa-ticket-alt infobox-contrat rotate90 paddingright pictofixedwidth em092\" style=\"\"></span>', 'knowledgemanagement', '$user->rights->knowledgemanagement->knowledgerecord->read', '$conf->knowledgemanagement->enabled', '2')
2023-05-06 17:57:48 DEBUG 94.73.40.140 Menubase::create record added has rowid=70
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 111 AND url = '/knowledgemanagement/knowledgerecord_list.php' AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'knowledgemanagement', 'left', 'ticket', 'knowledgemanagement_list', -1, 'ticket', 'knowledgemanagement_knowledgerecord', 111, '/knowledgemanagement/knowledgerecord_list.php', '', 'ListKnowledgeRecord', '', 'knowledgemanagement', '$user->rights->knowledgemanagement->knowledgerecord->read', '$conf->knowledgemanagement->enabled', '2')
2023-05-06 17:57:48 DEBUG 94.73.40.140 Menubase::create record added has rowid=71
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 110 AND url = '/knowledgemanagement/knowledgerecord_card.php?action=create' AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'knowledgemanagement', 'left', 'ticket', 'knowledgemanagement_new', -1, 'ticket', 'knowledgemanagement_knowledgerecord', 110, '/knowledgemanagement/knowledgerecord_card.php?action=create', '', 'NewKnowledgeRecord', '', 'knowledgemanagement', '$user->rights->knowledgemanagement->knowledgerecord->write', '$conf->knowledgemanagement->enabled', '2')
2023-05-06 17:57:48 DEBUG 94.73.40.140 Menubase::create record added has rowid=72
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_menu WHERE menu_handler = 'all' AND fk_menu = -1 AND position = 112 AND url = '/categories/index.php?type=13' AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 Menubase::create
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_menu(menu_handler,entity,module,type,mainmenu,leftmenu,fk_menu,fk_mainmenu,fk_leftmenu,position,url,target,titre,prefix,langs,perms,enabled,usertype) VALUES ( 'all', '1', 'knowledgemanagement', 'left', 'ticket', null, -1, 'ticket', 'knowledgemanagement_knowledgerecord', 112, '/categories/index.php?type=13', '', 'Categories', '', 'knowledgemanagement', '$user->rights->knowledgemanagement->knowledgerecord->read', '$conf->knowledgemanagement->enabled', '0')
2023-05-06 17:57:48 DEBUG 94.73.40.140 Menubase::create record added has rowid=73
2023-05-06 17:57:48 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:48 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:48 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '82', 'chaine', 0, '', 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:48 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:48 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:48 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:48 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:48 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:48 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:48 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:48 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:48 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:48 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:48 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:48 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:48 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:48 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:48 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:48 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:48 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:48 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:48 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:48 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:48 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:48 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:48 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:48 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:48 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:48 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:48 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:57:54 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:54 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:54 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:54 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:54 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::_unactive
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FOURNISSEUR' AND entity IN (0, 1)
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::delete_tabs
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_FOURNISSEUR_TABS_%' AND entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_invoices_supplier_permonth.php' AND oe_boxes.entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_invoices_supplier_permonth.php' AND entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_orders_supplier_permonth.php' AND oe_boxes.entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_orders_supplier_permonth.php' AND entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_fournisseurs.php' AND oe_boxes.entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_fournisseurs.php' AND entity = 1
2023-05-06 17:57:54 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:54 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_factures_fourn_imp.php' AND oe_boxes.entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_factures_fourn_imp.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_factures_fourn.php' AND oe_boxes.entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_factures_fourn.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_supplier_orders.php' AND oe_boxes.entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_supplier_orders.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_supplier_orders_awaiting_reception.php' AND oe_boxes.entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_supplier_orders_awaiting_reception.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_cronjobs
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'fournisseur' AND entity = 1 AND test = '1'
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_permissions
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'fournisseur' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_menus
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'fournisseur' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::delete_dirs
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_FOURNISSEUR_DIR_%' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:55 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::_active delete activation constant
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FOURNISSEUR' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::_active insert activation constant
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_FOURNISSEUR', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_const
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'COMMANDE_SUPPLIER_ADDON_PDF' AND entity = 1
2023-05-06 17:57:55 WARNING 94.73.40.140 modFournisseur::insert_const constant 'COMMANDE_SUPPLIER_ADDON_PDF' already exists
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'COMMANDE_SUPPLIER_ADDON_NUMBER' AND entity = 1
2023-05-06 17:57:55 WARNING 94.73.40.140 modFournisseur::insert_const constant 'COMMANDE_SUPPLIER_ADDON_NUMBER' already exists
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'INVOICE_SUPPLIER_ADDON_NUMBER' AND entity = 1
2023-05-06 17:57:55 WARNING 94.73.40.140 modFournisseur::insert_const constant 'INVOICE_SUPPLIER_ADDON_NUMBER' already exists
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'SUPPLIER_ORDER_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:55 WARNING 94.73.40.140 modFournisseur::insert_const constant 'SUPPLIER_ORDER_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_graph_invoices_supplier_permonth.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_graph_invoices_supplier_permonth.php', 1, null)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes onto page 0=Home
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (67, 0, '0', 0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_graph_orders_supplier_permonth.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_graph_orders_supplier_permonth.php', 1, null)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes onto page 0=Home
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (68, 0, '0', 0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_fournisseurs.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_fournisseurs.php', 1, null)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes onto page 0=Home
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (69, 0, '0', 0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_factures_fourn_imp.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_factures_fourn_imp.php', 1, null)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes onto page 0=Home
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (70, 0, '0', 0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_factures_fourn.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_factures_fourn.php', 1, null)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes onto page 0=Home
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (71, 0, '0', 0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_supplier_orders.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_supplier_orders.php', 1, null)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes onto page 0=Home
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (72, 0, '0', 0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_supplier_orders_awaiting_reception.php' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_supplier_orders_awaiting_reception.php', 1, null)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_boxes onto page 0=Home
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (73, 0, '0', 0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_cronjobs
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_cronjob WHERE label = 'RecurringSupplierInvoicesJob' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_FOURNISSEUR' AND entity IN (0,1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1181 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (1181,1,'Consulter les fournisseurs','fournisseur','r',0,'lire')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1181 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1181, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1181 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1181 OR (module='fournisseur' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1181 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1181)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1182,1,'Consulter les commandes fournisseur','fournisseur','r',0,'commande','lire')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1182 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1182, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1182 OR (module='fournisseur' AND perms='commande' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1182)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1183 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1183,1,'Creer une commande fournisseur','fournisseur','w',0,'commande','creer')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1183 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1183, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1183 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1183 OR (module='fournisseur' AND perms='commande' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1182)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1183 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1183)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1184 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1184,1,'Valider une commande fournisseur','fournisseur','w',0,'supplier_order_advance','validate')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1184 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1184, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1184 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1184 OR (module='fournisseur' AND perms='supplier_order_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1184 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1184)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1185 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1185,1,'Approuver une commande fournisseur','fournisseur','w',0,'commande','approuver')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1185 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1185, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1185 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1185 OR (module='fournisseur' AND perms='commande' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1182)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1185 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1185)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1186 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1186,1,'Commander une commande fournisseur','fournisseur','w',0,'commande','commander')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1186 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1186, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1186 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1186 OR (module='fournisseur' AND perms='commande' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1182)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1186 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1186)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1187 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1187,1,'Receptionner une commande fournisseur','fournisseur','d',0,'commande','receptionner')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1187 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1187, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1187 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1187 OR (module='fournisseur' AND perms='commande' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1182)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1187 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1187)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1189 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1189,1,'Check/Uncheck a supplier order reception','fournisseur','w',0,'commande_advance','check')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1189 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1189, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1189 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1189 OR (module='fournisseur' AND perms='commande_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1189 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1189)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1188 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1188,1,'Supprimer une commande fournisseur','fournisseur','d',0,'commande','supprimer')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1188 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1188, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1188 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1188 OR (module='fournisseur' AND perms='commande' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1182)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1188 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1188)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1191 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1191,1,'Exporter les commande fournisseurs, attributs','fournisseur','r',0,'commande','export')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1191 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1191, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1191 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1191 OR (module='fournisseur' AND perms='commande' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1182 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1182)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1191 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1191)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1231 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1231,1,'Consulter les factures fournisseur','fournisseur','r',0,'facture','lire')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1231 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1231, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1231 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1231 OR (module='fournisseur' AND perms='facture' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1231 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1231)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1232 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1232,1,'Creer une facture fournisseur','fournisseur','w',0,'facture','creer')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1232 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1232, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1232 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1232 OR (module='fournisseur' AND perms='facture' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1231 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1231)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1232 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1232)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1233 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1233,1,'Valider une facture fournisseur','fournisseur','w',0,'supplier_invoice_advance','validate')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1233 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1233, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1233 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1233 OR (module='fournisseur' AND perms='supplier_invoice_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1233 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1233)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1234 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1234,1,'Supprimer une facture fournisseur','fournisseur','d',0,'facture','supprimer')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1234 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1234, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1234 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1234 OR (module='fournisseur' AND perms='facture' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1231 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1231)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1234 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1234)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1235 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1235,1,'Envoyer les factures par mail','fournisseur','a',0,'supplier_invoice_advance','send')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1235 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1235, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1235 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1235 OR (module='fournisseur' AND perms='supplier_invoice_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1235 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1235)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1236 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1236,1,'Exporter les factures fournisseurs, attributs et reglements','fournisseur','r',0,'facture','export')
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::insert_permissions Search all admin users
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:55 INFO 94.73.40.140 modFournisseur::insert_permissions Add permission id 1236 to user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:55 INFO 94.73.40.140 User::addrights 1236, , , 1, 1 for user id=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1236 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1236 OR (module='fournisseur' AND perms='facture' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1231 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1231)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1236 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1236)
2023-05-06 17:57:55 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::_init ignoreerror=0
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'muscadet' AND type = 'order_supplier' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 modFournisseur::_init ignoreerror=0
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('muscadet', 'order_supplier', 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:55 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '83', 'chaine', 0, '', 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:55 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:55 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:55 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:55 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:55 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:55 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:55 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:55 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:55 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:55 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:55 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:55 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:55 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:55 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:55 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:55 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:55 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:55 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:55 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:55 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:55 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:55 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:55 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:55 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:55 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:55 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:56 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::_unactive
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SUPPLIERPROPOSAL' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::delete_tabs
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_SUPPLIERPROPOSAL_TABS_%' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::delete_cronjobs
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'supplier_proposal' AND entity = 1 AND test = '1'
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::delete_permissions
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'supplier_proposal' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::delete_menus
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'supplier_proposal' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::delete_dirs
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_SUPPLIERPROPOSAL_DIR_%' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::_remove
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'askpricesupplier'
2023-05-06 17:57:56 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::_active delete activation constant
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SUPPLIERPROPOSAL' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::_active insert activation constant
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_SUPPLIERPROPOSAL', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'SUPPLIER_PROPOSAL_ADDON_PDF' AND entity = 1
2023-05-06 17:57:56 WARNING 94.73.40.140 modSupplierProposal::insert_const constant 'SUPPLIER_PROPOSAL_ADDON_PDF' already exists
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'SUPPLIER_PROPOSAL_ADDON' AND entity = 1
2023-05-06 17:57:56 WARNING 94.73.40.140 modSupplierProposal::insert_const constant 'SUPPLIER_PROPOSAL_ADDON' already exists
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'SUPPLIER_PROPOSAL_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:56 WARNING 94.73.40.140 modSupplierProposal::insert_const constant 'SUPPLIER_PROPOSAL_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_boxes
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_cronjobs
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_permissions
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_SUPPLIERPROPOSAL' AND entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1121 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (1121,1,'Read supplier proposals','supplier_proposal','w',0,'lire')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_permissions Search all admin users
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:56 INFO 94.73.40.140 modSupplierProposal::insert_permissions Add permission id 1121 to user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:56 INFO 94.73.40.140 User::addrights 1121, , , 1, 1 for user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1121 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1121 OR (module='supplier_proposal' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1121 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1121)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1122 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (1122,1,'Create/modify supplier proposals','supplier_proposal','w',0,'creer')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_permissions Search all admin users
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:56 INFO 94.73.40.140 modSupplierProposal::insert_permissions Add permission id 1122 to user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:56 INFO 94.73.40.140 User::addrights 1122, , , 1, 1 for user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1122 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1122 OR (module='supplier_proposal' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1121 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1121)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1122 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1122)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1123 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (1123,1,'Validate supplier proposals','supplier_proposal','w',0,'validate_advance')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_permissions Search all admin users
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:56 INFO 94.73.40.140 modSupplierProposal::insert_permissions Add permission id 1123 to user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:56 INFO 94.73.40.140 User::addrights 1123, , , 1, 1 for user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1123 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1123 OR (module='supplier_proposal' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1121 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1121)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1123 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1123)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1124 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (1124,1,'Envoyer les demandes fournisseurs','supplier_proposal','w',0,'send_advance')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_permissions Search all admin users
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:56 INFO 94.73.40.140 modSupplierProposal::insert_permissions Add permission id 1124 to user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:56 INFO 94.73.40.140 User::addrights 1124, , , 1, 1 for user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1124 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1124 OR (module='supplier_proposal' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1121 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1121)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1124 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1124)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1125 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (1125,1,'Delete supplier proposals','supplier_proposal','w',0,'supprimer')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_permissions Search all admin users
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:56 INFO 94.73.40.140 modSupplierProposal::insert_permissions Add permission id 1125 to user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:56 INFO 94.73.40.140 User::addrights 1125, , , 1, 1 for user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1125 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1125 OR (module='supplier_proposal' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1121 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1121)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1125 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1125)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1126 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (1126,1,'Close supplier price requests','supplier_proposal','w',0,'cloturer')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::insert_permissions Search all admin users
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:56 INFO 94.73.40.140 modSupplierProposal::insert_permissions Add permission id 1126 to user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:56 INFO 94.73.40.140 User::addrights 1126, , , 1, 1 for user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1126 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1126 OR (module='supplier_proposal' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1121 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1121)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1126 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1126)
2023-05-06 17:57:56 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::_init ignoreerror=0
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'aurore' AND type = 'supplier_proposal' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 modSupplierProposal::_init ignoreerror=0
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('aurore','supplier_proposal',1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '84', 'chaine', 0, '', 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:56 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:56 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:56 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:56 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:56 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:56 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:56 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:56 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:56 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:56 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:56 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:56 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:56 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:56 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:56 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:56 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:56 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:56 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:56 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:56 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:56 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:56 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:56 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:56 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:56 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::_unactive
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_RECEPTION' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::delete_tabs
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_RECEPTION_TABS_%' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::delete_cronjobs
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'reception' AND entity = 1 AND test = '1'
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::delete_permissions
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'reception' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::delete_menus
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'reception' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::delete_dirs
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_RECEPTION_DIR_%' AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::_active delete activation constant
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_RECEPTION' AND entity IN (0, 1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::_active insert activation constant
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_RECEPTION', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::insert_const
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'RECEPTION_ADDON_PDF' AND entity = 1
2023-05-06 17:57:56 WARNING 94.73.40.140 modReception::insert_const constant 'RECEPTION_ADDON_PDF' already exists
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'RECEPTION_ADDON_NUMBER' AND entity = 1
2023-05-06 17:57:56 WARNING 94.73.40.140 modReception::insert_const constant 'RECEPTION_ADDON_NUMBER' already exists
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'RECEPTION_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:57:56 WARNING 94.73.40.140 modReception::insert_const constant 'RECEPTION_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'MAIN_SUBMODULE_RECEPTION' AND entity = 1
2023-05-06 17:57:56 WARNING 94.73.40.140 modReception::insert_const constant 'MAIN_SUBMODULE_RECEPTION' already exists
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::insert_boxes
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::insert_cronjobs
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::insert_permissions
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_RECEPTION' AND entity IN (0,1)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 941601 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (941601,1,'Lire les receptions','reception','r',0,'lire')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::insert_permissions Search all admin users
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:56 INFO 94.73.40.140 modReception::insert_permissions Add permission id 941601 to user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:56 INFO 94.73.40.140 User::addrights 941601, , , 1, 1 for user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 941601 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=941601 OR (module='reception' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 941601 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 941601)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 941602 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (941602,1,'Creer modifier les receptions','reception','w',0,'creer')
2023-05-06 17:57:56 DEBUG 94.73.40.140 modReception::insert_permissions Search all admin users
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:56 INFO 94.73.40.140 modReception::insert_permissions Add permission id 941602 to user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:56 INFO 94.73.40.140 User::addrights 941602, , , 1, 1 for user id=1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 941602 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=941602 OR (module='reception' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 941601 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 941601)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 941602 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 941602)
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 941603 AND entity = 1
2023-05-06 17:57:56 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (941603,1,'Valider les receptions','reception','d',0,'reception_advance','validate')
2023-05-06 17:57:57 DEBUG 94.73.40.140 modReception::insert_permissions Search all admin users
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:57 INFO 94.73.40.140 modReception::insert_permissions Add permission id 941603 to user id=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:57 INFO 94.73.40.140 User::addrights 941603, , , 1, 1 for user id=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 941603 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=941603 OR (module='reception' AND perms='reception_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 941603 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 941603)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 941604 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (941604,1,'Envoyer les receptions aux clients','reception','d',0,'reception_advance','send')
2023-05-06 17:57:57 DEBUG 94.73.40.140 modReception::insert_permissions Search all admin users
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:57 INFO 94.73.40.140 modReception::insert_permissions Add permission id 941604 to user id=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:57 INFO 94.73.40.140 User::addrights 941604, , , 1, 1 for user id=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 941604 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=941604 OR (module='reception' AND perms='reception_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 941604 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 941604)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 941605 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (941605,1,'Exporter les receptions','reception','r',0,'reception','export')
2023-05-06 17:57:57 DEBUG 94.73.40.140 modReception::insert_permissions Search all admin users
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:57 INFO 94.73.40.140 modReception::insert_permissions Add permission id 941605 to user id=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:57 INFO 94.73.40.140 User::addrights 941605, , , 1, 1 for user id=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 941605 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=941605 OR (module='reception' AND perms='reception' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 941605 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 941605)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 941606 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (941606,1,'Supprimer les receptions','reception','d',0,'supprimer')
2023-05-06 17:57:57 DEBUG 94.73.40.140 modReception::insert_permissions Search all admin users
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:57:57 INFO 94.73.40.140 modReception::insert_permissions Add permission id 941606 to user id=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:57:57 INFO 94.73.40.140 User::addrights 941606, , , 1, 1 for user id=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 941606 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=941606 OR (module='reception' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 941601 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 941601)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 941606 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 941606)
2023-05-06 17:57:57 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:57 DEBUG 94.73.40.140 modReception::_init ignoreerror=0
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'squille' AND type = 'reception' AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 modReception::_init ignoreerror=0
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('squille','reception',1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:57 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '85', 'chaine', 0, '', 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:57:57 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:57 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:57 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:57 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:57:57 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:57:57 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:57:57 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:57:57 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:57:57 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:57:57 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:57:57 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:57:57 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:57:57 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:57:57 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 useNPR
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:57:57 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:57:57 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:57:57 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:57:57 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:57:57 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:57 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:57 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:57:57 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:57:57 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:57:57 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:57:57 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:57:57 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:57:57 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:58:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:03 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::_unactive
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FACTURE' AND entity IN (0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_tabs
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_FACTURE_TABS_%' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_factures_imp.php' AND oe_boxes.entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_factures_imp.php' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_factures.php' AND oe_boxes.entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_factures.php' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_graph_invoices_permonth.php' AND oe_boxes.entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_graph_invoices_permonth.php' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_customers_outstanding_bill_reached.php' AND oe_boxes.entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_customers_outstanding_bill_reached.php' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_cronjobs
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'facture' AND entity = 1 AND test = '1'
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_permissions
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'facture' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_menus
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'facture' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::delete_dirs
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_FACTURE_DIR_%' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::_active delete activation constant
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_FACTURE' AND entity IN (0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::_active insert activation constant
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_FACTURE', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_const
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'FACTURE_ADDON' AND entity = 1
2023-05-06 17:58:03 WARNING 94.73.40.140 modFacture::insert_const constant 'FACTURE_ADDON' already exists
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'FACTURE_ADDON_PDF' AND entity = 1
2023-05-06 17:58:03 WARNING 94.73.40.140 modFacture::insert_const constant 'FACTURE_ADDON_PDF' already exists
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'FACTURE_ADDON_PDF_ODT_PATH' AND entity = 1
2023-05-06 17:58:03 WARNING 94.73.40.140 modFacture::insert_const constant 'FACTURE_ADDON_PDF_ODT_PATH' already exists
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_factures_imp.php' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_factures_imp.php', 1, null)
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes onto page 0=Home
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (74, 0, '0', 0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_factures.php' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_factures.php', 1, null)
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes onto page 0=Home
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (75, 0, '0', 0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_graph_invoices_permonth.php' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_graph_invoices_permonth.php', 1, null)
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes onto page 0=Home
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (76, 0, '0', 0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_boxes_def WHERE file = 'box_customers_outstanding_bill_reached.php' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes_def (file, entity, note) VALUES ('box_customers_outstanding_bill_reached.php', 1, null)
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_boxes onto page 0=Home
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_boxes (box_id, position, box_order, fk_user, entity) VALUES (77, 0, '0', 0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_cronjobs
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_cronjob WHERE label = 'RecurringInvoicesJob' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_cronjob WHERE label = 'SendEmailsRemindersOnInvoiceDueDate' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_FACTURE' AND entity IN (0,1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 11 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (11,1,'Read invoices','facture','a',0,'lire')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 11 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 11, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 11 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=11 OR (module='facture' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 11 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 11)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 12 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (12,1,'Create and update invoices','facture','a',0,'creer')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 12 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 12, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 12 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=12 OR (module='facture' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 11 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 11)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 12 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 12)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 13 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (13,1,'Devalidate invoices','facture','a',0,'invoice_advance','unvalidate')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 13 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 13, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 13 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=13 OR (module='facture' AND perms='invoice_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 13 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 13)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 14 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (14,1,'Validate invoices','facture','a',0,'invoice_advance','validate')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 14 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 14, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 14 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=14 OR (module='facture' AND perms='invoice_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 14 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 14)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 15 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (15,1,'Send invoices by email','facture','a',0,'invoice_advance','send')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 15 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 15, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 15 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=15 OR (module='facture' AND perms='invoice_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 15 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 15)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 16 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (16,1,'Issue payments on invoices','facture','a',0,'paiement')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 16 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 16, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 16 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=16 OR (module='facture' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 11 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 11)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 16 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 16)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 19 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (19,1,'Delete invoices','facture','a',0,'supprimer')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 19 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 19, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 19 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=19 OR (module='facture' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 11 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 11)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 19 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 19)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1321 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1321,1,'Export customer invoices, attributes and payments','facture','r',0,'facture','export')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 1321 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 1321, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1321 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1321 OR (module='facture' AND perms='facture' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1321 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1321)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 1322 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (1322,1,'Re-open a fully paid invoice','facture','r',0,'invoice_advance','reopen')
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::insert_permissions Search all admin users
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:03 INFO 94.73.40.140 modFacture::insert_permissions Add permission id 1322 to user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:03 INFO 94.73.40.140 User::addrights 1322, , , 1, 1 for user id=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 1322 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=1322 OR (module='facture' AND perms='invoice_advance' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 1322 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 1322)
2023-05-06 17:58:03 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::_init ignoreerror=0
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_document_model WHERE nom = 'crabe' AND type = 'invoice' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 modFacture::_init ignoreerror=0
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_document_model (nom, type, entity) VALUES('crabe','invoice',1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '86', 'chaine', 0, '', 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:58:03 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:58:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:03 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:03 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:58:03 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:03 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:58:03 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:03 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:58:04 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:58:04 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:58:04 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:58:04 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 useNPR
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:58:04 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:58:04 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:58:04 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 useNPR
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:04 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:58:04 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:58:04 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:58:04 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:58:04 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:04 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:04 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:04 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:58:04 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:58:04 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:04 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:04 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:04 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:58:07 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:07 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:07 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_loan-loan.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:58:07 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=create table oe_loan ( rowid integer AUTO_INCREMENT PRIMARY KEY, entity integer DEFAULT 1 NOT NULL, datec datetime, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, label varchar(80) NOT NULL, fk_bank integer, capital double(24,8) DEFAULT 0 NOT NULL, insurance_amount double(24,8) DEFAULT 0, datestart date, dateend date, nbterm real, rate double NOT NULL, note_private text, note_public text, capital_position double(24,8) DEFAULT 0, date_position date, paid smallint default 0 NOT NULL, accountancy_account_capital varchar(32), accountancy_account_insurance varchar(32), accountancy_account_interest varchar(32), fk_projet integer DEFAULT NULL, fk_user_author integer DEFAULT NULL, fk_user_modif integer DEFAULT NULL, active tinyint DEFAULT 1 NOT NULL )ENGINE=innodb;
2023-05-06 17:58:07 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_loan' already exists
2023-05-06 17:58:07 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_loan_schedule-loan.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:58:07 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=create table oe_loan_schedule ( rowid integer AUTO_INCREMENT PRIMARY KEY, fk_loan integer, datec datetime, tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, datep datetime, amount_capital double(24,8) DEFAULT 0, amount_insurance double(24,8) DEFAULT 0, amount_interest double(24,8) DEFAULT 0, fk_typepayment integer NOT NULL, num_payment varchar(50), note_private text, note_public text, fk_bank integer NOT NULL, fk_payment_loan integer, fk_user_creat integer, fk_user_modif integer )ENGINE=innodb;
2023-05-06 17:58:07 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_TABLE_ALREADY_EXISTS Table 'oe_loan_schedule' already exists
2023-05-06 17:58:07 DEBUG 94.73.40.140 Admin.lib::run_sql run sql file /home/iymllvj/oteimsa/admin/htdocs/install/mysql/tables/llx_loan_schedule-loan.key.sql silent=1 entity= usesavepoint=1 handler= okerror=default
2023-05-06 17:58:07 DEBUG 94.73.40.140 Admin.lib::run_sql Request 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=ALTER TABLE oe_loan_schedule ADD UNIQUE INDEX uk_loan_schedule_ref (fk_loan, datep);
2023-05-06 17:58:07 ERR 94.73.40.140 DoliDBMysqli::query SQL Error message: DB_ERROR_KEY_NAME_ALREADY_EXISTS Duplicate key name 'uk_loan_schedule_ref'
2023-05-06 17:58:07 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::_unactive
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_LOAN' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::delete_tabs
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_LOAN_TABS_%' AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::delete_cronjobs
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'loan' AND entity = 1 AND test = '1'
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::delete_permissions
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'loan' AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::delete_menus
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'loan' AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::delete_dirs
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_LOAN_DIR_%' AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::_active delete activation constant
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_LOAN' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::_active insert activation constant
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_LOAN', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_const
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'LOAN_ACCOUNTING_ACCOUNT_CAPITAL' AND entity = 1
2023-05-06 17:58:07 WARNING 94.73.40.140 modLoan::insert_const constant 'LOAN_ACCOUNTING_ACCOUNT_CAPITAL' already exists
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT count(*) FROM oe_const WHERE name = 'LOAN_ACCOUNTING_ACCOUNT_INSURANCE' AND entity = 1
2023-05-06 17:58:07 WARNING 94.73.40.140 modLoan::insert_const constant 'LOAN_ACCOUNTING_ACCOUNT_INSURANCE' already exists
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_boxes
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_cronjobs
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_permissions
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_LOAN' AND entity IN (0,1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 521 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (521,1,'Read loans','loan','r',0,'read')
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_permissions Search all admin users
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:07 INFO 94.73.40.140 modLoan::insert_permissions Add permission id 521 to user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:07 INFO 94.73.40.140 User::addrights 521, , , 1, 1 for user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 521 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=521 OR (module='loan' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 521 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 521)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 522 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (522,1,'Create/modify loans','loan','w',0,'write')
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_permissions Search all admin users
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:07 INFO 94.73.40.140 modLoan::insert_permissions Add permission id 522 to user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:07 INFO 94.73.40.140 User::addrights 522, , , 1, 1 for user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 522 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=522 OR (module='loan' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 521 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 521)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 522 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 522)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 524 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (524,1,'Delete loans','loan','d',0,'delete')
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_permissions Search all admin users
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:07 INFO 94.73.40.140 modLoan::insert_permissions Add permission id 524 to user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:07 INFO 94.73.40.140 User::addrights 524, , , 1, 1 for user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 524 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=524 OR (module='loan' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 521 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 521)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 524 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 524)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 525 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (525,1,'Access loan calculator','loan','r',0,'calc')
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_permissions Search all admin users
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:07 INFO 94.73.40.140 modLoan::insert_permissions Add permission id 525 to user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:07 INFO 94.73.40.140 User::addrights 525, , , 1, 1 for user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 525 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=525 OR (module='loan' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 521 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 521)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 525 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 525)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 527 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms) VALUES (527,1,'Export loans','loan','r',0,'export')
2023-05-06 17:58:07 DEBUG 94.73.40.140 modLoan::insert_permissions Search all admin users
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:07 INFO 94.73.40.140 modLoan::insert_permissions Add permission id 527 to user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:07 INFO 94.73.40.140 User::addrights 527, , , 1, 1 for user id=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 527 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=527 OR (module='loan' AND (perms='lire' OR perms='read') AND subperms IS NULL))
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 521 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 521)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 527 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 527)
2023-05-06 17:58:07 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:07 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '87', 'chaine', 0, '', 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:58:07 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:58:07 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:07 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:07 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:07 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:07 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:58:07 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:58:07 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:58:07 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:58:07 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:58:07 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 useNPR
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:58:07 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:58:07 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:58:07 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 useNPR
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:07 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:58:07 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:58:07 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:58:07 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:58:07 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:07 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:07 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:07 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:58:07 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:58:07 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:07 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:07 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:07 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:58:13 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:13 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=set, massaction=
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:13 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::_unactive
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_COMPTABILITE' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::delete_tabs
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_COMPTABILITE_TABS_%' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::delete_cronjobs
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'compta' AND entity = 1 AND test = '1'
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::delete_permissions
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'compta' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::delete_menus
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'compta' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::delete_dirs
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_COMPTABILITE_DIR_%' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::_active delete activation constant
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_COMPTABILITE' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::_active insert activation constant
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=INSERT INTO oe_const (name, value, visible, entity, note) VALUES ('MAIN_MODULE_COMPTABILITE', '1', 0, 1, '{\"authorid\":\"1\",\"ip\":\"94.73.40.140\",\"lastactivationversion\":\"dolibarr\"}')
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::insert_boxes
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::insert_cronjobs
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::insert_permissions
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT value as value FROM oe_const WHERE name = 'MAIN_MODULE_COMPTABILITE' AND entity IN (0,1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT count(*) as nb FROM oe_rights_def WHERE id = 95 AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=INSERT INTO oe_rights_def (id, entity, libelle, module, type, bydefault, perms, subperms) VALUES (95,1,'Lire CA, bilans, resultats','compta','r',0,'resultat','lire')
2023-05-06 17:58:13 DEBUG 94.73.40.140 modComptabilite::insert_permissions Search all admin users
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_user WHERE admin = 1
2023-05-06 17:58:13 INFO 94.73.40.140 modComptabilite::insert_permissions Add permission id 95 to user id=1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 17:58:13 INFO 94.73.40.140 User::addrights 95, , , 1, 1 for user id=1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT module, perms, subperms FROM oe_rights_def WHERE id = 95 AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT id FROM oe_rights_def WHERE entity = 1 AND (id=95 OR (module='compta' AND perms='resultat' AND (subperms='lire' OR subperms='read')))
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_user_rights WHERE fk_user = 1 AND fk_id = 95 AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=INSERT INTO oe_user_rights (entity, fk_user, fk_id) VALUES (1, 1, 95)
2023-05-06 17:58:13 INFO 94.73.40.140 User::clearrights reset user->rights
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:13 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::_unactive
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_ACCOUNTING' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_tabs
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name like 'MAIN_MODULE_ACCOUNTING_TABS_%' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_const
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_COMPANY_CODE_ALWAYS_REQUIRED' AND entity in (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_const
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_BANK_ACCOUNTANCY_CODE_ALWAYS_REQUIRED' AND entity in (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_boxes
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_accountancy_last_manual_entries.php' AND oe_boxes.entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_boxes
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_accountancy_last_manual_entries.php' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_boxes
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes USING oe_boxes, oe_boxes_def WHERE oe_boxes.box_id = oe_boxes_def.rowid AND oe_boxes_def.file = 'box_accountancy_suspense_account.php' AND oe_boxes.entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_boxes
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_boxes_def WHERE file = 'box_accountancy_suspense_account.php' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_cronjobs
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_cronjob WHERE module_name = 'accounting' AND entity = 1 AND test = '1'
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_permissions
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_rights_def WHERE module = 'accounting' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_menus
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_menu WHERE module = 'accounting' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 modAccounting::delete_dirs
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name LIKE 'MAIN_MODULE_ACCOUNTING_DIR_%' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_IHM_PARAMS_REV' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_IHM_PARAMS_REV', '88', 'chaine', 0, '', 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT COUNT(rowid) as nb FROM oe_user WHERE admin <> 1
2023-05-06 17:58:13 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:58:13 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:13 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:13 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 17:58:13 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=DELETE FROM oe_const WHERE name = 'MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT' AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 admin.lib::dolibarr_set_const
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=INSERT INTO oe_const(name, value, type, visible, note, entity) VALUES ('MAIN_MODULE_SETUP_ON_LIST_BY_DEFAULT', 'commonkanban', 'chaine', 0, '', 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 17:58:13 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 17:58:13 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 17:58:13 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 17:58:13 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 17:58:13 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 17:58:13 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 useNPR
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 17:58:13 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 17:58:13 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 17:58:13 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 useNPR
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 17:58:13 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 17:58:13 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 17:58:13 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 17:58:13 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 17:58:13 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:13 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:13 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 17:58:13 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 17:58:13 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 17:58:13 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:58:13 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:58:13 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:58:13 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 17:59:16 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 17:59:16 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 17:59:16 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/blockedlog/admin/blockedlog.php - action=, massaction=
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 LIMIT 1
2023-05-06 17:59:16 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=0 is 1
2023-05-06 17:59:16 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite FROM oe_c_country WHERE active > 0
2023-05-06 17:59:16 INFO 94.73.40.140 --- End access to /admin/htdocs/blockedlog/admin/blockedlog.php
2023-05-06 19:25:10 DEBUG 94.73.40.140 NEW TOKEN generated by : /admin/htdocs/admin/tools/index.php
2023-05-06 19:25:10 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/index.php - action= - actionlogin= - showing the login form and exit
2023-05-06 19:25:10 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:11 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-06 19:25:11 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:11 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 19:25:11 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 19:25:11 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:11 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:11 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 19:25:11 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:11 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 19:25:11 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 19:25:11 INFO 94.73.40.140 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-05-06 19:25:11 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-06 19:25:11 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-06 19:25:15 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-06 19:25:15 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-06 19:25:15 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:15 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:15 INFO 94.73.40.140 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-06 19:25:15 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 19:25:15 DEBUG 94.73.40.140 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-06 21:25:15', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-06 21:25:15', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-06 19:25:15 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:15 DEBUG 94.73.40.140 Events::create
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-06 21:25:15', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1571x799', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-06 19:25:15 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:15 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:15 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-06 19:25:15 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-06 19:25:15 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:15 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:15 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-06 19:25:15 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:15 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:15 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 19:25:15 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-05-06 19:25:15 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-06 19:25:15 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-06 19:25:18 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:18 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:18 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:18 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:18 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:25:18 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:25:18 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:25:18 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:18 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:18 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:18 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:25:18' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:25:18 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:25:18 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401118 - 86400) so we can't use it.
2023-05-06 19:25:18 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:18 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:18 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:18 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:18 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401118 - 86400) so we can't use it.
2023-05-06 19:25:18 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:18 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:18 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-06 19:25:18 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:18 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:25:19 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:25:19 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:25:19 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:25:19 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 PropaleStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 PropaleStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 PropaleStats::_getNbByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 PropaleStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 PropaleStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 PropaleStats::_getAmountByMonth
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-06 19:25:19 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:19 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:25:19 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 CommandeStats::_getAllByProduct
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-05-06 19:25:19 INFO 94.73.40.140 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:19 INFO 94.73.40.140 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683401119 - 86400) so we can't use it.
2023-05-06 19:25:19 DEBUG 94.73.40.140 FactureStats::_getAllByProduct
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-05-06 19:25:19 INFO 94.73.40.140 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-06 19:25:19 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:19 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:25:19 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:19 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:25:19 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:25:19 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:25:19 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:19 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:19 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:19 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-06 19:25:19 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-06 19:25:19 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-06 19:25:22 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:22 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:22 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:22 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:22 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:25:22 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:25:22 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:25:22 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:22 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:22 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:22 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:25:22 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:25:22' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:25:22 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:25:22 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:25:22 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:22 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:25:22 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:22 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:25:23 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:23 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:23 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:25:23 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:23 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:23 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:25:23 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:23 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:23 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:25:23 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:25:23 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:25:23 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:23 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:23 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:25:23 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:25:23 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:23 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:23 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:23 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:25:23 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:23 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:25:23 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:25:23 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:25:23 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:23 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:23 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-06 19:25:23 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-05-06 19:25:23 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-06 19:25:23 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-06 19:25:25 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:25 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:25 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:25 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:25 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:25 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:25 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/logout.php - action=, massaction=
2023-05-06 19:25:25 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:26 INFO 94.73.40.140 End of session f7ddcf192144ddb44755be1d6766c7e9
2023-05-06 19:25:26 INFO 94.73.40.140 --- End access to /admin/htdocs/user/logout.php
2023-05-06 19:25:26 DEBUG 94.73.40.140 NEW TOKEN generated by : /admin/htdocs/index.php
2023-05-06 19:25:26 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-05-06 19:25:26 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:26 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:25:45 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-06 19:25:45 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-06 19:25:45 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:45 INFO 94.73.40.140 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-06 19:25:45 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-06 19:25:45 DEBUG 94.73.40.140 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-06 21:25:45', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-06 21:25:45', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-06 19:25:45 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:45 DEBUG 94.73.40.140 Events::create
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-06 21:25:45', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1558x799', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-06 19:25:45 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:45 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:45 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:25:45' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:25:45 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:45 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:25:45 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:45 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:45 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:45 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:45 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:25:45 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:25:45 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:25:45 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:25:47 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:47 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:47 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:25:47' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:25:47 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:47 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:25:47 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:47 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:47 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:47 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:47 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:25:47 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:25:47 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:25:47 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:25:49 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:49 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:49 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:25:49' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:25:49 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:25:49 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:25:49 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:49 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:25:49 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:25:49 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:25:49 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:25:49 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:25:49 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:25:50 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:25:50 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:25:50 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:25:50 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:25:52 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:25:52 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:25:52 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:25:52 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-06 19:25:52 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-06 19:25:52 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-06 19:26:00 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:00 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:00 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:26:00' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:26:00 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:00 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:26:00 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:00 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:00 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:00 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:00 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:26:00 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:26:00 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:26:00 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:26:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-06 19:26:03 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:26:03 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-06 19:26:03 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-06 19:26:08 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:08 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:08 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-06 19:26:08 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-06 19:26:08 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-06 19:26:08 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-06 19:26:08 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-06 19:26:13 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:13 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:13 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:13 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:26:13 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:26:13 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:26:13 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:26:13 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-05-06 19:26:13 DEBUG 94.73.40.140 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-05-06 19:26:13 INFO 94.73.40.140 --- End access to /admin/htdocs/hrm/index.php
2023-05-06 19:26:17 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:17 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:17 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:26:17' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:26:17 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:17 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:26:17 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:17 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:17 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:17 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:17 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:26:17 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:26:17 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:26:17 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:26:18 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:18 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:18 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:26:18' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:26:18 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:18 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:26:18 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:18 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:18 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:18 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:18 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:26:18 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:26:18 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:26:18 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:26:20 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:20 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:20 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:26:20' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:26:20 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:20 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:26:20 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:20 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:20 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:20 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:20 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:26:20 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:26:20 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:26:20 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:26:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-05-06 19:26:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:21 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/index.php
2023-05-06 19:26:24 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:24 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:24 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-06 19:26:24 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:24 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:24 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-06 19:26:25 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:25 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:25 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:25 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:26:25' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:26:25 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:26:25 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:26:25 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:26:25 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:26:25 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:26:25 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:26:25 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:25 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:26:25 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:26:25 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:26:25 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:26:26 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:26:26 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:26 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:26 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:26:26 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:26:26 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:26:26 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:26:26 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:26:26 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:26:26 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:26:26 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:26:27 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:27 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:27 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:27 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:27 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:27 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-05-06 19:26:27 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:27 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:27 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/index.php
2023-05-06 19:26:29 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:29 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:29 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/home.php - action=, massaction=
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:29 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 1 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname, u.firstname, u.admin, u.login, u.fk_soc, u.datec, u.statut, u.entity, u.ldap_sid, u.photo, u.admin, u.email, s.nom as name, s.code_client, s.canvas FROM oe_user as u LEFT JOIN oe_societe as s ON u.fk_soc = s.rowid WHERE u.entity IN (0,1) ORDER BY u.datec DESC LIMIT 10
2023-05-06 19:26:29 DEBUG 94.73.40.140 sql=SELECT g.rowid, g.nom as name, g.note, g.entity, g.datec FROM oe_usergroup as g WHERE g.entity IN (0, 1) ORDER BY g.datec DESC LIMIT 5
2023-05-06 19:26:29 INFO 94.73.40.140 --- End access to /admin/htdocs/user/home.php
2023-05-06 19:26:51 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:26:51 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:26:51 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:51 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:26:51 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:26:51 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:26:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:26:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:26:51 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/card.php - action=create, massaction=
2023-05-06 19:26:51 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:26:51 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:26:52 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:26:52 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:26:52 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:26:52 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:26:52 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-06 19:26:52 DEBUG 94.73.40.140 Form::select_civility
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, active FROM oe_c_civility WHERE active = 1
2023-05-06 19:26:52 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:26:52 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:26:52 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:26:52 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-05-06 19:26:52 DEBUG 94.73.40.140 FormCompany::select_departement num=1737
2023-05-06 19:26:52 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:26:52 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 7
2023-05-06 19:26:52 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:26:52 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:26:52 INFO 94.73.40.140 DolEditor::DolEditor htmlname=signature width= height=138 toolbarname=dolibarr_notes
2023-05-06 19:26:52 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=100 toolbarname=dolibarr_notes
2023-05-06 19:26:52 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=100 toolbarname=dolibarr_notes
2023-05-06 19:26:52 DEBUG 94.73.40.140 Translate::loadCacheCurrencies
2023-05-06 19:26:52 DEBUG 94.73.40.140 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-05-06 19:26:52 INFO 94.73.40.140 --- End access to /admin/htdocs/user/card.php
2023-05-06 19:27:13 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:27:13 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:27:13 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:27:13 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:27:13 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:27:13 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:27:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:27:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:27:13 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-06 19:27:13 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:27:13 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:27:14 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-06 19:27:15 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:27:15 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:27:15 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:27:15 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:27:15 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-06 19:27:15 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-06 19:27:15 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:27:15 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:27:15 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:27:15 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:27:15 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-06 19:27:16 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:27:16 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:27:16 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/resultat/index.php - action=, massaction=
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:27:16 DEBUG 94.73.40.140 get customers invoices
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT sum(pf.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm FROM oe_facture as f, oe_paiement_facture as pf, oe_paiement as p WHERE p.rowid = pf.fk_paiement AND pf.fk_facture = f.rowid AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' AND f.entity IN (1) GROUP BY dm ORDER BY dm
2023-05-06 19:27:16 DEBUG 94.73.40.140 get old customers payments not linked to invoices
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT sum(p.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm FROM oe_bank as b, oe_bank_account as ba, oe_paiement as p LEFT JOIN oe_paiement_facture as pf ON p.rowid = pf.fk_paiement WHERE pf.rowid IS NULL AND p.fk_bank = b.rowid AND b.fk_account = ba.rowid AND ba.entity IN (1) AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' GROUP BY dm ORDER BY dm
2023-05-06 19:27:16 DEBUG 94.73.40.140 get suppliers invoices
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT sum(pf.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm FROM oe_paiementfourn as p, oe_facture_fourn as f, oe_paiementfourn_facturefourn as pf WHERE f.rowid = pf.fk_facturefourn AND p.rowid = pf.fk_paiementfourn AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' AND f.entity IN (1) GROUP BY dm
2023-05-06 19:27:16 DEBUG 94.73.40.140 get vat really paid
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT sum(t.amount) as amount, date_format(t.datev,'%Y-%m') as dm FROM oe_tva as t WHERE amount > 0 AND t.entity IN (1) AND t.datev >= '2020-01-01 00:00:00' AND t.datev <= '2023-12-31 23:59:59' GROUP BY dm
2023-05-06 19:27:16 DEBUG 94.73.40.140 get vat really received back
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT sum(t.amount) as amount, date_format(t.datev,'%Y-%m') as dm FROM oe_tva as t WHERE amount < 0 AND t.entity IN (1) AND t.datev >= '2020-01-01 00:00:00' AND t.datev <= '2023-12-31 23:59:59' GROUP BY dm
2023-05-06 19:27:16 DEBUG 94.73.40.140 get social contributions
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT c.libelle as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount FROM oe_c_chargesociales as c, oe_chargesociales as cs, oe_paiementcharge as p WHERE p.fk_charge = cs.rowid AND cs.fk_type = c.id AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' AND cs.entity IN (1) GROUP BY c.libelle, dm
2023-05-06 19:27:16 INFO 94.73.40.140 get social salaries payments
2023-05-06 19:27:16 DEBUG 94.73.40.140 sql=SELECT p.label as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount FROM oe_payment_salary as p INNER JOIN oe_salary as s ON p.fk_salary = s.rowid WHERE p.entity IN (1) AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' GROUP BY p.label, dm
2023-05-06 19:27:16 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/resultat/index.php
2023-05-06 19:27:43 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:27:43 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:27:43 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:27:43 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-06 19:27:43 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-06 19:27:43 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-06 19:27:48 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:27:48 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:27:48 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-06 19:27:48 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-06 19:27:48 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-06 19:27:48 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-06 19:27:48 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-06 19:28:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:28:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:28:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/commande/card.php - action=create, massaction=
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'commande' ORDER BY pos
2023-05-06 19:28:03 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 2 OR s.client = 3) AND s.status=1)) ORDER BY nom ASC
2023-05-06 19:28:03 DEBUG 94.73.40.140 Form::load_cache_availability
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, position FROM oe_c_availability WHERE active > 0
2023-05-06 19:28:03 DEBUG 94.73.40.140 Form::selectAvailabilityDelay selected=0, htmlname=availability_id
2023-05-06 19:28:03 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-06 19:28:03 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-06 19:28:03 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-05-06 19:28:03 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-06 19:28:03 DEBUG 94.73.40.140 Form::selectShippingMode
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label FROM oe_c_shipment_mode WHERE active > 0 ORDER BY libelle ASC
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'TRANS'
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'CATCH'
2023-05-06 19:28:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'UPS'
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_input_reason WHERE active > 0
2023-05-06 19:28:03 DEBUG 94.73.40.140 /core/lib/function2.lib.php::getListOfModels
2023-05-06 19:28:03 DEBUG 94.73.40.140 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'order' AND entity IN (0,1) ORDER BY description DESC
2023-05-06 19:28:03 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:28:03 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:28:03 INFO 94.73.40.140 --- End access to /admin/htdocs/commande/card.php
2023-05-06 19:28:06 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:28:06 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:28:06 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/propal/card.php - action=create, massaction=
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'propal' ORDER BY pos
2023-05-06 19:28:06 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 2 OR s.client = 3) AND status=1)) ORDER BY nom ASC
2023-05-06 19:28:06 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-06 19:28:06 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-06 19:28:06 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-05-06 19:28:06 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_input_reason WHERE active > 0
2023-05-06 19:28:06 DEBUG 94.73.40.140 Form::load_cache_availability
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, position FROM oe_c_availability WHERE active > 0
2023-05-06 19:28:06 DEBUG 94.73.40.140 Form::selectAvailabilityDelay selected=, htmlname=availability_id
2023-05-06 19:28:06 DEBUG 94.73.40.140 Form::selectShippingMode
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label FROM oe_c_shipment_mode WHERE active > 0 ORDER BY libelle ASC
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'TRANS'
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'CATCH'
2023-05-06 19:28:06 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'UPS'
2023-05-06 19:28:06 DEBUG 94.73.40.140 /core/lib/function2.lib.php::getListOfModels
2023-05-06 19:28:06 DEBUG 94.73.40.140 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'propal' AND entity IN (0,1) ORDER BY description DESC
2023-05-06 19:28:06 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:28:06 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:28:06 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/propal/card.php
2023-05-06 19:28:53 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:28:53 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:28:53 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:28:53 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:28:53 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:28:53 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:28:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:28:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:28:53 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-06 19:28:53 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:28:53 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:28:53 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-06 19:28:54 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:28:54 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:28:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:28:54 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:28:54 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-06 19:28:54 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-06 19:28:54 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-06 19:28:55 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:28:55 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:28:55 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-05-06 19:28:55 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-05-06 19:28:55 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-06 19:28:55 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-06 19:28:55 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-06 19:28:55 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-05-06 19:28:56 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-06 19:28:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-06 19:28:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-06 19:28:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-06 19:28:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-06 19:28:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-06 19:28:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-06 19:28:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-06 19:28:56 DEBUG 94.73.40.140 Form::select_comptes
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-06 19:28:56 DEBUG 94.73.40.140 /core/lib/function2.lib.php::getListOfModels
2023-05-06 19:28:56 DEBUG 94.73.40.140 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-05-06 19:28:56 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:28:56 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:28:56 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/facture/card.php
2023-05-06 19:29:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:29:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:29:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/fourn/facture/card.php - action=create, massaction=
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture_fourn' ORDER BY pos
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:29:21 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:29:21 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND ((s.fournisseur = 1 AND s.status = 1)) ORDER BY nom ASC
2023-05-06 19:29:22 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-06 19:29:22 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-06 19:29:22 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, DBIT, 0
2023-05-06 19:29:22 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-06 19:29:22 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-06 19:29:22 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-06 19:29:22 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-06 19:29:22 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-06 19:29:22 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-06 19:29:22 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-06 19:29:22 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-06 19:29:22 DEBUG 94.73.40.140 Form::select_comptes
2023-05-06 19:29:22 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-06 19:29:22 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:29:22 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:29:22 INFO 94.73.40.140 --- End access to /admin/htdocs/fourn/facture/card.php
2023-05-06 19:37:31 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:31 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-06 19:37:31 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-06 19:37:31 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-06 19:37:33 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:33 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:33 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-06 19:37:33 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:37:33 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-06 19:37:33 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-06 19:37:34 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:34 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:34 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-06 19:37:34 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-06 19:37:34 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-06 19:37:34 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-06 19:37:34 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-06 19:37:36 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:36 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:36 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:37:36 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:37:36 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-06 19:37:36 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-06 19:37:36 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-06 19:37:38 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:38 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:38 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-06 19:37:38 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:37:38 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:37:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-06 19:37:38 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:37:38 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:37:38 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-06 19:37:38 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-06 19:37:40 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:40 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:40 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:40 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:40 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:40 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:40 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-06 19:37:40 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:40 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:40 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-06 19:37:41 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:41 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:41 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:41 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:37:41 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:37:41 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:37:41 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:37:41 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-05-06 19:37:41 DEBUG 94.73.40.140 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-05-06 19:37:41 INFO 94.73.40.140 --- End access to /admin/htdocs/hrm/index.php
2023-05-06 19:37:49 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:49 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:49 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:49 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:49 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:49 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:49 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-06 19:37:49 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:49 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:49 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-06 19:37:50 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:50 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:50 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-06 19:37:50 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:37:50 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:37:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-06 19:37:50 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:37:50 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:37:50 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-06 19:37:50 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-06 19:37:53 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:53 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:53 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:37:53 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:37:53 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-06 19:37:53 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-06 19:37:53 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-06 19:37:58 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:37:58 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:37:58 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-06 19:37:58 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:37:58 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-06 19:37:58 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-06 19:38:01 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:38:01 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:38:01 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-06 19:38:01 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-06 19:38:01 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-06 19:38:01 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-06 19:38:01 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-06 19:38:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:38:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:38:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:38:03 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:38:03 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:38:04 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-06 19:38:04 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-06 19:38:04 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-06 19:38:16 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:38:16 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:38:16 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-06 19:38:16 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-06 19:38:16 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-06 19:38:16 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-06 19:38:16 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-06 19:38:23 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:38:23 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:38:23 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:38:23 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-06 19:38:23 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-06 19:38:23 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-06 19:38:24 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:38:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:38:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-05-06 19:38:24 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-06 19:38:24 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-06 19:38:24 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-06 19:38:24 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-06 19:38:24 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-06 19:38:24 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-06 19:38:24 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-06 19:38:24 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-06 19:38:24 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:38:24 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-06 19:38:24 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-06 19:38:24 DEBUG 94.73.40.140 FormCompany::typent_array
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-05-06 19:38:24 DEBUG 94.73.40.140 FormCompany::effectif_array
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-05-06 19:38:24 DEBUG 94.73.40.140 FormCompany::select_juridicalstatus
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-05-06 19:38:24 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:38:24 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-05-06 19:38:24 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:38:24 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:38:24 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:38:24 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-05-06 19:38:24 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:38:24 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:38:24 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-06 19:38:24 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:38:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:38:24 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/card.php
2023-05-06 19:38:46 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:38:46 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:38:47 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:38:47 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/contact/card.php - action=create, massaction=
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'socpeople' ORDER BY pos
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-05-06 19:38:47 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-06 19:38:47 DEBUG 94.73.40.140 Form::select_civility
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, active FROM oe_c_civility WHERE active = 1
2023-05-06 19:38:47 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:38:47 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-06 19:38:47 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-06 19:38:47 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:38:47 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:38:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 4
2023-05-06 19:38:47 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:38:47 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:38:47 INFO 94.73.40.140 --- End access to /admin/htdocs/contact/card.php
2023-05-06 19:41:53 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:41:53 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:41:53 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-06 19:41:53 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:41:53 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-06 19:41:53 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-06 19:41:54 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:41:54 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:41:54 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:41:54 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:41:54 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:41:54 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:41:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:41:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:41:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-06 19:41:54 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:41:54 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-06 19:41:55 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-06 19:41:55 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-06 19:41:55 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-06 19:41:55 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-06 19:41:56 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:41:56 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:41:56 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/propal/card.php - action=create, massaction=
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'propal' ORDER BY pos
2023-05-06 19:41:56 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 2 OR s.client = 3) AND status=1)) ORDER BY nom ASC
2023-05-06 19:41:56 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-06 19:41:56 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-06 19:41:56 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-05-06 19:41:56 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_input_reason WHERE active > 0
2023-05-06 19:41:56 DEBUG 94.73.40.140 Form::load_cache_availability
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, position FROM oe_c_availability WHERE active > 0
2023-05-06 19:41:56 DEBUG 94.73.40.140 Form::selectAvailabilityDelay selected=, htmlname=availability_id
2023-05-06 19:41:56 DEBUG 94.73.40.140 Form::selectShippingMode
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label FROM oe_c_shipment_mode WHERE active > 0 ORDER BY libelle ASC
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'TRANS'
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'CATCH'
2023-05-06 19:41:56 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'UPS'
2023-05-06 19:41:56 DEBUG 94.73.40.140 /core/lib/function2.lib.php::getListOfModels
2023-05-06 19:41:56 DEBUG 94.73.40.140 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'propal' AND entity IN (0,1) ORDER BY description DESC
2023-05-06 19:41:56 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:41:56 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:41:56 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/propal/card.php
2023-05-06 19:42:18 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:42:18 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:42:18 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-06 19:42:18 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:42:18 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-06 19:42:18 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-06 19:42:19 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:42:19 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:42:19 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/card.php - action=create, massaction=
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'product' ORDER BY pos
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle FROM oe_c_barcode_type WHERE coder <> '0' AND entity = 1 ORDER BY code
2023-05-06 19:42:19 INFO 94.73.40.140 DolEditor::DolEditor htmlname=desc width= height=160 toolbarname=dolibarr_details
2023-05-06 19:42:19 DEBUG 94.73.40.140 FormProduct::selectWarehouses , fk_default_warehouse, warehouseopen, 1, 0, 0, , 0, 0, minwidth300 widthcentpercentminusxx maxwidth500
2023-05-06 19:42:19 DEBUG 94.73.40.140 FormProduct::loadWarehouses
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT e.rowid, e.ref as label, e.description, e.fk_parent, sum(ps.reel) as stock FROM oe_entrepot as e LEFT JOIN oe_product_stock as ps on ps.fk_entrepot = e.rowid WHERE e.entity IN (1) AND e.statut = 1 GROUP BY e.rowid, e.ref, e.description, e.fk_parent ORDER BY e.ref
2023-05-06 19:42:19 DEBUG 94.73.40.140 CProductNature::fetchAll
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.label, t.active FROM oe_c_product_nature as t WHERE (t.active = 1)
2023-05-06 19:42:19 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'weight')
2023-05-06 19:42:19 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'size')
2023-05-06 19:42:19 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'surface')
2023-05-06 19:42:19 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'volume')
2023-05-06 19:42:19 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:42:19 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-05-06 19:42:19 DEBUG 94.73.40.140 FormCompany::select_departement num=1737
2023-05-06 19:42:19 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=140 toolbarname=dolibarr_details
2023-05-06 19:42:19 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:42:19 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-05-06 19:42:19 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:42:19 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-06 19:42:19 INFO 94.73.40.140 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-05-06 19:42:19 INFO 94.73.40.140 get_product_vat_for_country: ret=21
2023-05-06 19:42:19 DEBUG 94.73.40.140 Form::load_cache_vatrates
2023-05-06 19:42:19 DEBUG 94.73.40.140 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-05-06 19:42:19 INFO 94.73.40.140 --- End access to /admin/htdocs/product/card.php
2023-05-06 19:42:38 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:42:38 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:42:38 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/card.php - action=create, massaction=
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'product' ORDER BY pos
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle FROM oe_c_barcode_type WHERE coder <> '0' AND entity = 1 ORDER BY code
2023-05-06 19:42:38 INFO 94.73.40.140 DolEditor::DolEditor htmlname=desc width= height=160 toolbarname=dolibarr_details
2023-05-06 19:42:38 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'time')
2023-05-06 19:42:38 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=140 toolbarname=dolibarr_details
2023-05-06 19:42:38 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:42:38 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-05-06 19:42:38 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:42:38 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-06 19:42:38 INFO 94.73.40.140 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-05-06 19:42:38 INFO 94.73.40.140 get_product_vat_for_country: ret=21
2023-05-06 19:42:38 DEBUG 94.73.40.140 Form::load_cache_vatrates
2023-05-06 19:42:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-05-06 19:42:38 INFO 94.73.40.140 --- End access to /admin/htdocs/product/card.php
2023-05-06 19:42:58 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:42:58 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:42:58 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/stock/card.php - action=create, massaction=
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'entrepot' ORDER BY pos
2023-05-06 19:42:58 DEBUG 94.73.40.140 FormProduct::selectWarehouses ifone, fk_parent, , 1, 0, 0, , 0, 0, minwidth200
2023-05-06 19:42:58 DEBUG 94.73.40.140 FormProduct::loadWarehouses
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT e.rowid, e.ref as label, e.description, e.fk_parent, sum(ps.reel) as stock FROM oe_entrepot as e LEFT JOIN oe_product_stock as ps on ps.fk_entrepot = e.rowid WHERE e.entity IN (1) AND e.statut = 1 GROUP BY e.rowid, e.ref, e.description, e.fk_parent ORDER BY e.ref
2023-05-06 19:42:58 INFO 94.73.40.140 DolEditor::DolEditor htmlname=desc width= height=180 toolbarname=dolibarr_notes
2023-05-06 19:42:58 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:42:58 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:42:58 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:42:58 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 9
2023-05-06 19:42:58 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:42:58 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:42:58 INFO 94.73.40.140 --- End access to /admin/htdocs/product/stock/card.php
2023-05-06 19:43:20 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:43:20 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:43:20 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-06 19:43:20 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:43:20 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:43:20 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-06 19:43:20 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:43:20 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:43:20 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-06 19:43:20 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-06 19:43:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:43:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:43:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-06 19:43:21 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-06 19:43:21 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-06 19:43:21 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-06 19:43:22 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-06 19:43:22 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-06 19:43:22 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-06 19:43:22 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-06 19:43:22 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-06 19:43:22 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-06 19:43:31 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:43:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:43:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:43:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:43:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:43:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:43:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:43:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:43:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-05-06 19:43:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:43:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:43:32 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:43:32 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:43:32 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:43:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:43:32 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:43:32 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:43:32 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:43:32 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-05-06 19:43:32 DEBUG 94.73.40.140 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-05-06 19:43:32 INFO 94.73.40.140 --- End access to /admin/htdocs/hrm/index.php
2023-05-06 19:43:41 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:43:41 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:43:41 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:43:41 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-06 19:43:41 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-06 19:43:41 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-06 19:43:44 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:43:44 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:43:44 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-05-06 19:43:44 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-06 19:43:44 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-06 19:43:44 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-06 19:43:44 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-06 19:43:44 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-06 19:43:44 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-06 19:43:44 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-06 19:43:44 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-06 19:43:44 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:43:44 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-06 19:43:44 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-06 19:43:44 DEBUG 94.73.40.140 FormCompany::typent_array
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-05-06 19:43:44 DEBUG 94.73.40.140 FormCompany::effectif_array
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-05-06 19:43:44 DEBUG 94.73.40.140 FormCompany::select_juridicalstatus
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-05-06 19:43:44 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:43:44 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-05-06 19:43:44 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:43:44 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:43:44 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:43:44 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-05-06 19:43:44 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:43:44 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:43:44 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-06 19:43:44 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:43:44 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:43:44 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/card.php
2023-05-06 19:44:39 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:44:39 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:44:39 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-06 19:44:39 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:44:39 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-06 19:44:39 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-06 19:44:48 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:44:48 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:44:48 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-06 19:44:48 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-06 19:44:48 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-06 19:44:48 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-06 19:44:48 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-06 19:44:56 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:44:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:44:56 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:44:56 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:44:56 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:44:56 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:44:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:44:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:44:56 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-06 19:44:56 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:44:56 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:44:56 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-06 19:44:58 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:44:58 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:44:58 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-06 19:44:58 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:44:58 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:44:58 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-06 19:44:58 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:44:58 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:44:58 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-06 19:44:58 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-06 19:44:59 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:44:59 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:44:59 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:44:59 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-06' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-21' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-06' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-06' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-21' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-05' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-06 19:44:59 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-06 19:44:59 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-06 19:44:59 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-06 19:45:00 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:45:00 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:45:00 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-05-06 19:45:00 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-05-06 19:45:00 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-06 19:45:00 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-06 19:45:00 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-05-06 19:45:00 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-06 19:45:00 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-06 19:45:00 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-06 19:45:00 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-06 19:45:00 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-06 19:45:00 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-06 19:45:00 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-06 19:45:00 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-06 19:45:00 DEBUG 94.73.40.140 Form::select_comptes
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-06 19:45:00 DEBUG 94.73.40.140 /core/lib/function2.lib.php::getListOfModels
2023-05-06 19:45:00 DEBUG 94.73.40.140 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-05-06 19:45:00 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:45:00 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-06 19:45:00 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/facture/card.php
2023-05-06 19:45:26 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:45:26 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:45:26 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:45:26 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:45:26 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:45:26 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:45:26 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:45:26 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-05-06 19:45:26 DEBUG 94.73.40.140 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-05-06 19:45:26 INFO 94.73.40.140 --- End access to /admin/htdocs/hrm/index.php
2023-05-06 19:45:27 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:45:27 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:45:27 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/card.php - action=create, massaction=
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:45:27 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:45:27 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:45:27 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:45:27 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:45:27 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-06 19:45:27 DEBUG 94.73.40.140 Form::select_civility
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, active FROM oe_c_civility WHERE active = 1
2023-05-06 19:45:27 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:45:27 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:45:27 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:45:27 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-05-06 19:45:27 DEBUG 94.73.40.140 FormCompany::select_departement num=1737
2023-05-06 19:45:27 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:45:27 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 7
2023-05-06 19:45:27 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:45:27 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:45:27 INFO 94.73.40.140 DolEditor::DolEditor htmlname=signature width= height=138 toolbarname=dolibarr_notes
2023-05-06 19:45:27 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=100 toolbarname=dolibarr_notes
2023-05-06 19:45:27 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=100 toolbarname=dolibarr_notes
2023-05-06 19:45:27 DEBUG 94.73.40.140 Translate::loadCacheCurrencies
2023-05-06 19:45:27 DEBUG 94.73.40.140 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-05-06 19:45:27 INFO 94.73.40.140 --- End access to /admin/htdocs/user/card.php
2023-05-06 19:45:47 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:45:47 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:45:47 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/list.php - action=, massaction=
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:45:47 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:45:47 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:45:47 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:45:47 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:45:47 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_user as u LEFT JOIN oe_societe as s ON u.fk_soc = s.rowid LEFT JOIN oe_user as u2 ON u.fk_user = u2.rowid WHERE u.entity IN (0,1) AND u.employee = 1 AND u.statut IN (1)
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname, u.firstname, u.admin, u.fk_soc, u.login, u.office_phone, u.user_mobile, u.email, u.api_key, u.accountancy_code, u.gender, u.employee, u.photo, u.fk_user, u.job, u.salary, u.datelastlogin, u.datepreviouslogin, u.ldap_sid, u.statut as status, u.entity, u.tms as date_update, u.datec as date_creation, u2.rowid as id2, u2.login as login2, u2.firstname as firstname2, u2.lastname as lastname2, u2.admin as admin2, u2.fk_soc as fk_soc2, u2.office_phone as ofice_phone2, u2.user_mobile as user_mobile2, u2.email as email2, u2.gender as gender2, u2.photo as photo2, u2.entity as entity2, u2.statut as status2, s.nom as name, s.canvas FROM oe_user as u LEFT JOIN oe_societe as s ON u.fk_soc = s.rowid LEFT JOIN oe_user as u2 ON u.fk_user = u2.rowid WHERE u.entity IN (0,1) AND u.employee = 1 AND u.statut IN (1) ORDER BY u.login ASC LIMIT 21
2023-05-06 19:45:47 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:45:47 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 7
2023-05-06 19:45:47 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:45:47 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:45:47 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:45:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:45:47 INFO 94.73.40.140 Save lastsearch_values_tmp_user/list.php={"search_category_user_list":[]} (systematic recording of last search criterias)
2023-05-06 19:45:47 INFO 94.73.40.140 --- End access to /admin/htdocs/user/list.php
2023-05-06 19:46:06 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:46:06 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:46:06 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/action/index.php - action=, massaction=
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:46:06 DEBUG 94.73.40.140 comm/action/index.php
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep, a.datep2, a.percent, a.fk_user_author,a.fk_user_action, a.transparency, a.priority, a.fulldayevent, a.location, a.fk_soc, a.fk_contact, a.fk_project, a.fk_element, a.elementtype, ca.code as type_code, ca.libelle as type_label, ca.color as type_color, ca.type as type_type, ca.picto as type_picto FROM oe_c_actioncomm as ca, oe_actioncomm as a, oe_actioncomm_resources as ar WHERE a.fk_action = ca.id AND a.entity IN (1) AND ar.fk_actioncomm = a.id AND ar.element_type='user' AND ( (a.datep BETWEEN '2023-04-24 00:00:00' AND '2023-06-07 23:59:59') OR (a.datep2 BETWEEN '2023-04-24 00:00:00' AND '2023-06-07 23:59:59') OR (a.datep < '2023-04-24 00:00:00' AND a.datep2 > '2023-06-07 23:59:59')) AND (ar.fk_element = 1) ORDER BY datep
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 2
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 3
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 4
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 5
2023-05-06 19:46:06 DEBUG 94.73.40.140 comm/action/index.php
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT sp.rowid, sp.lastname, sp.firstname, sp.birthday FROM oe_socpeople as sp WHERE (priv=0 OR (priv=1 AND fk_user_creat=1)) AND sp.entity IN (1) AND MONTH(birthday) = 5 ORDER BY birthday
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.statut, x.rowid, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.statut as status FROM oe_holiday as x, oe_user as u WHERE u.rowid = x.fk_user AND u.statut = '1' AND (x.statut = '2' OR x.statut = '3')
2023-05-06 19:46:06 DEBUG 94.73.40.140 CActionComm::liste_array
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-05-06 19:46:06 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:46:06 DEBUG 94.73.40.140 Form::select_dolgroups
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT ug.rowid, ug.nom as name FROM oe_usergroup as ug WHERE ug.entity IN (0, 1) ORDER BY ug.nom ASC
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-05-06 19:46:06 DEBUG 94.73.40.140 Dolresource::fetchAll
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-05-06 19:46:06 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-06 19:46:06 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 19:46:06 INFO 94.73.40.140 Save lastsearch_values_tmp_comm/action/index.php={"search_actioncode":[]} (systematic recording of last search criterias)
2023-05-06 19:46:06 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/action/index.php
2023-05-06 19:46:27 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:46:27 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:46:27 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/action/card.php - action=create, massaction=
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-05-06 19:46:27 DEBUG 94.73.40.140 dol_getIdFromCode (value for field id from key AC_OTH not found into cache)
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT id as valuetoget FROM oe_c_actioncomm WHERE code = 'AC_OTH'
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:46:27 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut != 0 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:46:27 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:46:27 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 10
2023-05-06 19:46:27 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:46:27 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:46:27 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-06 19:46:27 DEBUG 94.73.40.140 Form::selectcontacts
2023-05-06 19:46:27 DEBUG 94.73.40.140 sql=SELECT sp.rowid, sp.lastname, sp.statut, sp.firstname, sp.poste, sp.email, sp.phone, sp.phone_perso, sp.phone_mobile, sp.town AS contact_town FROM oe_socpeople as sp WHERE sp.entity IN (1) ORDER BY sp.lastname ASC
2023-05-06 19:46:27 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note width= height=120 toolbarname=dolibarr_notes
2023-05-06 19:46:27 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/action/card.php
2023-05-06 19:46:46 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:46:46 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:46:46 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/resource/card.php - action=create, massaction=
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'resource' ORDER BY pos
2023-05-06 19:46:46 DEBUG 94.73.40.140 FormResource::select_types_resource , fk_code_type_resource, , 2
2023-05-06 19:46:46 DEBUG 94.73.40.140 Dolresource::load_cache_code_type_resource
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, active FROM oe_c_type_resource WHERE active > 0 ORDER BY rowid
2023-05-06 19:46:46 INFO 94.73.40.140 DolEditor::DolEditor htmlname=description width= height=200 toolbarname=dolibarr_notes
2023-05-06 19:46:46 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:46:46 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:46:46 INFO 94.73.40.140 --- End access to /admin/htdocs/resource/card.php
2023-05-06 19:47:17 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:47:17 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:47:17 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-06 19:47:17 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:47:17 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:47:17 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-06 19:47:17 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:47:17 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:47:17 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-06 19:47:17 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-06 19:47:18 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:47:18 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:47:18 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/card.php - action=create, massaction=
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::loadCacheCurrencies
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AED'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AFN'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ALL'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ANG'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AOA'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ARS'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AWG'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AZN'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BAM'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BBD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BDT'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BGN'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BHD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BIF'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BMD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BND'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BOB'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BRL'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BSD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BWP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BYR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BZD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CLP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CNY'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'COP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CRC'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CUP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CVE'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CZK'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DKK'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DOP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DZD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ECS'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'EEK'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'EGP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ETB'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'FJD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'FKP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GGP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GHC'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GIP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GNF'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GTQ'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GYD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HKD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HNL'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HRK'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HUF'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IDR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ILS'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IMP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IRR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ISK'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JEP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JMD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JPY'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KES'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KGS'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KHR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KPW'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KRW'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KYD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KZT'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LAK'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LBP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LKR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LRD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LTL'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LVL'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MDL'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MKD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MMK'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MNT'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MRO'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MXN'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MYR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MZN'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NAD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NGN'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NIO'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NPR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NZD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'OMR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PAB'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PEN'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PHP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PKR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PLN'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PYG'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'QAR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RON'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RSD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RUB'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SAR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SBD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SCR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SEK'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SGD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SHP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SOS'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SRD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SVC'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SYP'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'THB'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TRY'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TTD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TVD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TWD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'UYU'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'UZS'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'VEF'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'VND'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'XCD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'YER'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ZAR'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ZWD'
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE code = 'ES'
2023-05-06 19:47:18 DEBUG 94.73.40.140 Form::select_country
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-06 19:47:18 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-06 19:47:18 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-06 19:47:18 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:47:18 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-06 19:47:18 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:47:18 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:47:18 DEBUG 94.73.40.140 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_account as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_account = 0 AND c.entity IN (1)
2023-05-06 19:47:18 INFO 94.73.40.140 DolEditor::DolEditor htmlname=account_comment width= height=90 toolbarname=dolibarr_notes
2023-05-06 19:47:18 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/card.php
2023-05-06 19:47:40 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:47:40 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:47:40 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/ticket/index.php - action=, massaction=
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:47:40 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 11 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT t.fk_statut, COUNT(t.fk_statut) as nb FROM oe_ticket as t WHERE t.entity IN (1) AND datec BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY t.fk_statut
2023-05-06 19:47:40 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-06 19:47:40 DEBUG 94.73.40.140 TicketStats::_getNbByMonth
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2022 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-05-06 19:47:40 DEBUG 94.73.40.140 TicketStats::_getNbByMonth
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2023 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-05-06 19:47:40 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.ref, t.track_id, t.datec, t.subject, t.type_code, t.category_code, t.severity_code, t.fk_statut, t.progress, type.code as type_code, type.label as type_label, category.code as category_code, category.label as category_label, severity.code as severity_code, severity.label as severity_label FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code WHERE t.entity IN (1) AND t.fk_statut=0 ORDER BY t.datec DESC LIMIT 10
2023-05-06 19:47:40 INFO 94.73.40.140 --- End access to /admin/htdocs/ticket/index.php
2023-05-06 19:47:42 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:47:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:47:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/ticket/card.php - action=create, massaction=
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ticket' ORDER BY pos
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ticket' ORDER BY pos
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_ticket WHERE ref LIKE 'TS____-%' AND entity IN (1)
2023-05-06 19:47:42 INFO 94.73.40.140 mod_ticket_simple::getNextValue return TS2305-0001
2023-05-06 19:47:42 DEBUG 94.73.40.140 FormTicket::select_types_tickets , type_code, , 2, 0
2023-05-06 19:47:42 DEBUG 94.73.40.140 Ticket::load_cache_type_tickets
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, use_default, pos, description FROM oe_c_ticket_type WHERE active > 0 ORDER BY pos
2023-05-06 19:47:42 DEBUG 94.73.40.140 FormTicket::selectCategoryTickets , category_code, , 2
2023-05-06 19:47:42 DEBUG 94.73.40.140 Ticket::load_cache_categories_tickets
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, use_default, pos, description, public, active, force_severity, fk_parent FROM oe_c_ticket_category WHERE active > 0 AND entity = 1 ORDER BY pos
2023-05-06 19:47:42 DEBUG 94.73.40.140 FormTicket::selectSeveritiesTickets , severity_code, , 2
2023-05-06 19:47:42 DEBUG 94.73.40.140 Ticket::loadCacheSeveritiesTickets
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, use_default, pos, description FROM oe_c_ticket_severity WHERE active > 0 ORDER BY pos
2023-05-06 19:47:42 INFO 94.73.40.140 DolEditor::DolEditor htmlname=message width=100% height=230 toolbarname=dolibarr_notes
2023-05-06 19:47:42 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-06 19:47:42 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 12
2023-05-06 19:47:42 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-06 19:47:42 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-06 19:47:42 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-06 19:47:42 DEBUG 94.73.40.140 Form::selectcontacts
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT sp.rowid, sp.lastname, sp.statut, sp.firstname, sp.poste, sp.email, sp.phone, sp.phone_perso, sp.phone_mobile, sp.town AS contact_town FROM oe_socpeople as sp WHERE sp.entity IN (1) AND sp.fk_soc = -1 ORDER BY sp.lastname ASC
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='ticket' AND tc.active=1 AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:47:42 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:47:42 INFO 94.73.40.140 --- End access to /admin/htdocs/ticket/card.php
2023-05-06 19:47:42 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:47:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:47:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/ajax/fetchKnowledgeRecord.php - action=getKnowledgeRecord, massaction= NOTOKENRENEWAL=1
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:47:42 DEBUG 94.73.40.140 sql=SELECT kr.rowid, kr.ref, kr.question, kr.answer,kr.url,ctc.code FROM oe_knowledgemanagement_knowledgerecord as kr JOIN oe_c_ticket_category as ctc ON ctc.rowid = kr.fk_c_ticket_category WHERE ctc.code = 'OTHER' AND ctc.active = 1 AND (kr.lang = 'es_ES' OR kr.lang = 0 OR kr.lang IS NULL) AND kr.status = 1 AND (kr.answer IS NOT NULL AND kr.answer <> '')
2023-05-06 19:47:42 INFO 94.73.40.140 --- End access to /admin/htdocs/core/ajax/fetchKnowledgeRecord.php
2023-05-06 19:48:11 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:48:11 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:48:11 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:48:11' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:48:11 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:48:11 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:48:11 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:48:11 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:48:11 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:48:11 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:48:11 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:48:11 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:48:11 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:48:11 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:48:13 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:48:13 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:48:13 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:48:13 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:48:13 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:48:13 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:48:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:48:13 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:48:13 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-06 19:48:13 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:48:13 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:48:13 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-06 19:48:15 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:48:15 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:48:15 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/system/dolibarr.php - action=, massaction=
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SHOW VARIABLES where variable_name = 'system_time_zone'
2023-05-06 19:48:15 DEBUG 94.73.40.140 sql=SELECT rowid, name as name, value as value, type, note, entity FROM oe_const WHERE entity IN (0,1) ORDER BY entity, name ASC
2023-05-06 19:48:15 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/system/dolibarr.php
2023-05-06 19:48:56 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:48:56 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:48:56 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:48:56 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:48:56 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:48:56 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:48:56 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:48:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:48:57 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/update.php - action=, massaction=
2023-05-06 19:48:57 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:48:57 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:48:57 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/update.php
2023-05-06 19:49:26 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:49:26 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:49:26 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:49:26' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:49:26 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:49:26 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:49:26 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:49:26 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:49:26 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:49:26 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:49:26 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:49:26 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:49:26 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:49:26 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:49:27 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:49:27 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:49:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:49:27 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:49:27 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:49:27 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:49:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:49:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:49:27 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-05-06 19:49:27 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:49:27 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:49:27 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/index.php
2023-05-06 19:49:28 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:49:28 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:49:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:49:28 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 19:49:28 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:49:28 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:49:28 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:49:28 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:49:28 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:49:28 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 19:49:29 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 useNPR
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 19:49:29 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 19:49:29 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 19:49:29 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 useNPR
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:49:29 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 19:49:29 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 19:49:29 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 19:49:29 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 19:49:29 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 19:49:29 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 19:49:29 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 19:49:29 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 19:49:29 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 19:49:37 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:49:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:49:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/blockedlog/admin/blockedlog.php - action=, massaction=
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 LIMIT 1
2023-05-06 19:49:37 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=0 is 1
2023-05-06 19:49:37 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite FROM oe_c_country WHERE active > 0
2023-05-06 19:49:37 INFO 94.73.40.140 --- End access to /admin/htdocs/blockedlog/admin/blockedlog.php
2023-05-06 19:49:40 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:49:40 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:49:40 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/stripe/admin/stripe.php - action=, massaction=
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:49:40 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-06 19:49:40 DEBUG 94.73.40.140 Form::select_comptes
2023-05-06 19:49:40 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-06 19:49:40 INFO 94.73.40.140 DolEditor::DolEditor htmlname=ONLINE_PAYMENT_MESSAGE_FORM width= height=100 toolbarname=dolibarr_details
2023-05-06 19:49:40 INFO 94.73.40.140 DolEditor::DolEditor htmlname=ONLINE_PAYMENT_MESSAGE_OK width= height=100 toolbarname=dolibarr_details
2023-05-06 19:49:40 INFO 94.73.40.140 DolEditor::DolEditor htmlname=ONLINE_PAYMENT_MESSAGE_KO width= height=100 toolbarname=dolibarr_details
2023-05-06 19:49:40 INFO 94.73.40.140 --- End access to /admin/htdocs/stripe/admin/stripe.php
2023-05-06 19:49:41 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:49:41 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:49:41 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/paypal/admin/paypal.php - action=, massaction=
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:49:41 DEBUG 94.73.40.140 Form::select_comptes
2023-05-06 19:49:41 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-06 19:49:41 INFO 94.73.40.140 DolEditor::DolEditor htmlname=ONLINE_PAYMENT_MESSAGE_FORM width= height=100 toolbarname=dolibarr_details
2023-05-06 19:49:41 INFO 94.73.40.140 DolEditor::DolEditor htmlname=ONLINE_PAYMENT_MESSAGE_OK width= height=100 toolbarname=dolibarr_details
2023-05-06 19:49:41 INFO 94.73.40.140 DolEditor::DolEditor htmlname=ONLINE_PAYMENT_MESSAGE_KO width= height=100 toolbarname=dolibarr_details
2023-05-06 19:49:41 INFO 94.73.40.140 --- End access to /admin/htdocs/paypal/admin/paypal.php
2023-05-06 19:50:28 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:50:28 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:50:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:50:28 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-05-06 19:50:28 INFO 94.73.40.140 Module modWebhook not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 User::loadParentOf
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-06 19:50:28 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-06 19:50:28 INFO 94.73.40.140 Build childid for id = 1
2023-05-06 19:50:28 INFO 94.73.40.140 Module modDeplacement not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-05-06 19:50:28 INFO 94.73.40.140 Module modCollab not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 useNPR
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 INFO 94.73.40.140 Module modWorkstation not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 INFO 94.73.40.140 Module modDataPolicy not qualified
2023-05-06 19:50:28 INFO 94.73.40.140 Module modStockTransfer not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-05-06 19:50:28 INFO 94.73.40.140 Module modZapier not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 INFO 94.73.40.140 Module modBookCal not qualified
2023-05-06 19:50:28 INFO 94.73.40.140 Module modAsset not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 useNPR
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-06 19:50:28 INFO 94.73.40.140 Module modFTP not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 INFO 94.73.40.140 Module modIntracommreport not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-05-06 19:50:28 INFO 94.73.40.140 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-05-06 19:50:28 INFO 94.73.40.140 Module modDynamicPrices not qualified
2023-05-06 19:50:28 INFO 94.73.40.140 Module modWebServicesClient not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 INFO 94.73.40.140 Module modLabel not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 INFO 94.73.40.140 Module modDocumentGeneration not qualified
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-05-06 19:50:28 DEBUG 94.73.40.140 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-05-06 19:50:28 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 19:50:28 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 19:50:28 INFO 94.73.40.140 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-05-06 19:50:28 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/modules.php
2023-05-06 19:50:39 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:50:39 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:50:39 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:50:39 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:50:39 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:50:39 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:50:39 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:50:39 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:50:39 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/api/admin/index.php - action=, massaction=
2023-05-06 19:50:39 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:50:39 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:50:39 INFO 94.73.40.140 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/api/temp
2023-05-06 19:50:39 INFO 94.73.40.140 --- End access to /admin/htdocs/api/admin/index.php
2023-05-06 19:50:40 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:50:40 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:50:40 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:50:40 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:50:40 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:50:40 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:50:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:50:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:50:40 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/webservices/admin/index.php - action=, massaction=
2023-05-06 19:50:40 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:50:40 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:50:40 INFO 94.73.40.140 --- End access to /admin/htdocs/webservices/admin/index.php
2023-05-06 19:52:45 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:52:45 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:52:45 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_shipments::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_contracts::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-06 21:52:45' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_services_expired::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401118.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_factures::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-06 19:52:45 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-06 19:52:45 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_birthdays::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-06 19:52:45 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_actions::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_comptes::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_produits::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:52:45 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683401119.
2023-05-06 19:52:45 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-06 19:52:45 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_propales::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_clients::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_prospect::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_contacts::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-06 19:52:45 INFO 94.73.40.140 box_commandes::showBox
2023-05-06 19:52:45 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-06 19:52:45 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-06 19:52:45 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-06 19:52:50 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:52:50 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:52:50 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:52:50 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:52:50 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:52:50 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:52:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:52:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:52:50 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-06 19:52:50 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:52:50 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:52:50 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-06 19:52:53 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-06 19:52:53 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-06 19:52:53 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/listevents.php - action=, massaction=
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-06 19:52:53 DEBUG 94.73.40.140 sql=SELECT e.rowid, e.type, e.ip, e.user_agent, e.dateevent, e.fk_user, e.description, e.prefix_session, u.login, u.admin, u.entity, u.firstname, u.lastname, u.statut as status FROM oe_events as e LEFT JOIN oe_user as u ON u.rowid = e.fk_user WHERE e.entity IN (1) AND e.dateevent >= '2023-05-01 00:00:00' AND e.dateevent <= '2023-05-31 23:59:59' ORDER BY dateevent DESC LIMIT 21
2023-05-06 19:52:53 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/listevents.php
2023-05-09 17:00:28 DEBUG 94.73.40.140 NEW TOKEN generated by : /admin/htdocs/index.php
2023-05-09 17:00:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-05-09 17:00:28 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:00:28 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-09 17:00:28 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:28 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-09 17:00:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:28 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:00:28 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:00:28 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-09 17:00:28 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:28 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-09 17:00:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:28 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:00:28 INFO 94.73.40.140 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-05-09 17:00:28 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:28 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-09 17:00:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:28 INFO 94.73.40.140 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-05-09 17:00:28 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-09 17:00:28 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-09 17:00:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:28 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-05-09 17:00:32 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-09 17:00:32 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-05-09 17:00:32 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-09 17:00:32 NOTICE 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-05-09 17:00:33 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:00:33 DEBUG 94.73.40.140 Bad password, connexion refused
2023-05-09 17:00:33 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-05-09 17:00:33 DEBUG 94.73.40.140 Events::create
2023-05-09 17:00:33 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-09 19:00:33', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-09 17:00:33 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-05-09 17:00:33 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-09 17:00:33 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:33 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-09 17:00:33 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:33 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:00:33 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:00:33 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-09 17:00:41 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-09 17:00:41 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-09 17:00:41 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:00:41 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:00:41 INFO 94.73.40.140 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-09 17:00:41 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-09 17:00:41 DEBUG 94.73.40.140 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-09 19:00:41', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-09 19:00:41', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-09 17:00:41 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:00:41 DEBUG 94.73.40.140 Events::create
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-09 19:00:41', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1767x929', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-09 17:00:41 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:00:41 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:00:41 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:00:41 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:00:41 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_shipments::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_contracts::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-09 19:00:42' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_services_expired::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_factures::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-09 17:00:42 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 PropaleStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 PropaleStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 PropaleStats::_getNbByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 PropaleStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 PropaleStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 PropaleStats::_getAmountByMonth
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-05-09 17:00:42 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-09 17:00:42 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_birthdays::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-09 17:00:42 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_actions::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_comptes::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_produits::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 CommandeStats::_getAllByProduct
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-05-09 17:00:42 INFO 94.73.40.140 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1683651642 - 86400) so we can't use it.
2023-05-09 17:00:42 DEBUG 94.73.40.140 FactureStats::_getAllByProduct
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-05-09 17:00:42 INFO 94.73.40.140 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-05-09 17:00:42 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-09 17:00:42 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_propales::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_clients::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_prospect::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_contacts::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:00:42 INFO 94.73.40.140 box_commandes::showBox
2023-05-09 17:00:42 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-09 17:00:42 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-09 17:00:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-09 17:00:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:00:42 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-09 17:00:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-09 17:00:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:00:42 INFO 94.73.40.140 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-05-09 17:00:42 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:00:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:42 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-05-09 17:00:42 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-09 17:00:42 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-09 17:00:42 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:00:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:00:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:00:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:00:42 INFO 94.73.40.140 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-05-09 17:00:42 INFO 94.73.40.140 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-09 17:00:42 INFO 94.73.40.140 --- End access to /admin/htdocs/viewimage.php
2023-05-09 17:06:09 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:06:09 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:06:09 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:06:09 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:06:09 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:06:09 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:06:09 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:06:09 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:06:09 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/logout.php - action=, massaction=
2023-05-09 17:06:09 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:06:09 INFO 94.73.40.140 End of session f7ddcf192144ddb44755be1d6766c7e9
2023-05-09 17:06:09 INFO 94.73.40.140 --- End access to /admin/htdocs/user/logout.php
2023-05-09 17:06:09 DEBUG 94.73.40.140 NEW TOKEN generated by : /admin/htdocs/index.php
2023-05-09 17:06:09 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-05-09 17:06:09 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:06:09 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-09 17:06:32 INFO 94.73.40.140 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-05-09 17:06:32 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-05-09 17:06:32 INFO 94.73.40.140 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:06:32 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:06:32 INFO 94.73.40.140 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-05-09 17:06:32 DEBUG 94.73.40.140 BEGIN Transaction
2023-05-09 17:06:32 DEBUG 94.73.40.140 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-09 19:06:32', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-05-09 19:06:32', iplastlogin = '94.73.40.140', tms = tms WHERE rowid = 1
2023-05-09 17:06:32 INFO 94.73.40.140 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:06:32 DEBUG 94.73.40.140 Events::create
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.40.140', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36', '2023-05-09 19:06:32', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1671x905', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-05-09 17:06:32 DEBUG 94.73.40.140 COMMIT Transaction
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:06:32 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-05-09 17:06:32 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:06:33 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_shipments::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_contracts::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-09 19:06:33' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_services_expired::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_factures::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-09 17:06:33 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-09 17:06:33 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_birthdays::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-09 17:06:33 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_actions::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_comptes::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_produits::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-09 17:06:33 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:06:33 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-09 17:06:33 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_propales::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_clients::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_prospect::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_contacts::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:06:33 INFO 94.73.40.140 box_commandes::showBox
2023-05-09 17:06:33 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-09 17:06:33 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-09 17:06:33 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-09 17:06:37 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:06:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:06:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/home.php - action=, massaction=
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:06:37 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 1 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname, u.firstname, u.admin, u.login, u.fk_soc, u.datec, u.statut, u.entity, u.ldap_sid, u.photo, u.admin, u.email, s.nom as name, s.code_client, s.canvas FROM oe_user as u LEFT JOIN oe_societe as s ON u.fk_soc = s.rowid WHERE u.entity IN (0,1) ORDER BY u.datec DESC LIMIT 10
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT g.rowid, g.nom as name, g.note, g.entity, g.datec FROM oe_usergroup as g WHERE g.entity IN (0, 1) ORDER BY g.datec DESC LIMIT 5
2023-05-09 17:06:37 INFO 94.73.40.140 --- End access to /admin/htdocs/user/home.php
2023-05-09 17:06:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-09 17:06:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:06:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:06:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:06:37 INFO 94.73.40.140 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-09 17:16:53 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:16:53 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:16:53 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/card.php - action=create, massaction=
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:16:53 DEBUG 94.73.40.140 User::loadParentOf
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-09 17:16:53 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-09 17:16:53 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-09 17:16:53 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-09 17:16:53 INFO 94.73.40.140 Build childid for id = 1
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-09 17:16:53 DEBUG 94.73.40.140 Form::select_civility
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, active FROM oe_c_civility WHERE active = 1
2023-05-09 17:16:53 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:16:53 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:16:53 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:16:53 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-05-09 17:16:53 DEBUG 94.73.40.140 FormCompany::select_departement num=1737
2023-05-09 17:16:53 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:16:53 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 7
2023-05-09 17:16:53 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:16:53 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:16:53 INFO 94.73.40.140 DolEditor::DolEditor htmlname=signature width= height=138 toolbarname=dolibarr_notes
2023-05-09 17:16:53 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=100 toolbarname=dolibarr_notes
2023-05-09 17:16:53 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=100 toolbarname=dolibarr_notes
2023-05-09 17:16:53 DEBUG 94.73.40.140 Translate::loadCacheCurrencies
2023-05-09 17:16:53 DEBUG 94.73.40.140 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-05-09 17:16:53 INFO 94.73.40.140 --- End access to /admin/htdocs/user/card.php
2023-05-09 17:17:25 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:25 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:25 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:17:25 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:17:25 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-09 17:17:25 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-09 17:17:25 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-09 17:17:26 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:26 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:26 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:26 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:26 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:26 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:26 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-09 17:17:26 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:26 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:26 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-09 17:17:29 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:29 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:29 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:17:29 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:17:29 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:17:29 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:17:29 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:17:36 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:36 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:36 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:36 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:36 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:36 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:36 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:36 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-09 17:17:36 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:36 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:36 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-09 17:17:37 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-09 17:17:37 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:17:37 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:17:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-09 17:17:37 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:17:37 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:17:37 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-09 17:17:37 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-09 17:17:38 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:38 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:38 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:17:38 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:17:38 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-09 17:17:38 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-09 17:17:38 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-09 17:17:39 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:39 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:39 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:17:39 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:17:39 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:17:39 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:17:39 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:17:41 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:41 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:41 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-09 17:17:41 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:17:41 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-09 17:17:41 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-09 17:17:42 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:42 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-09 17:17:42 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-09 17:17:42 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-09 17:17:43 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:43 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:43 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:43 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_shipments::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_contracts::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-09 19:17:43' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_services_expired::showBox
2023-05-09 17:17:43 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-09 17:17:43 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-09 17:17:43 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_factures::showBox
2023-05-09 17:17:43 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-09 17:17:43 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-09 17:17:43 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-09 17:17:43 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:43 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-09 17:17:43 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-09 17:17:43 INFO 94.73.40.140 box_birthdays::showBox
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-09 17:17:43 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-09 17:17:44 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_actions::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_comptes::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_produits::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-09 17:17:44 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:44 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-09 17:17:44 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:17:44 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-09 17:17:44 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-09 17:17:44 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_propales::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_clients::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_prospect::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_contacts::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:17:44 INFO 94.73.40.140 box_commandes::showBox
2023-05-09 17:17:44 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-09 17:17:44 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-09 17:17:44 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-09 17:17:46 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:46 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:46 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:46 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:46 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:46 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:46 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:46 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:46 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-09 17:17:46 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:46 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:46 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-09 17:17:48 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:17:48 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:17:48 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/resultat/index.php - action=, massaction=
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:17:48 DEBUG 94.73.40.140 get customers invoices
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT sum(pf.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm FROM oe_facture as f, oe_paiement_facture as pf, oe_paiement as p WHERE p.rowid = pf.fk_paiement AND pf.fk_facture = f.rowid AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' AND f.entity IN (1) GROUP BY dm ORDER BY dm
2023-05-09 17:17:48 DEBUG 94.73.40.140 get old customers payments not linked to invoices
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT sum(p.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm FROM oe_bank as b, oe_bank_account as ba, oe_paiement as p LEFT JOIN oe_paiement_facture as pf ON p.rowid = pf.fk_paiement WHERE pf.rowid IS NULL AND p.fk_bank = b.rowid AND b.fk_account = ba.rowid AND ba.entity IN (1) AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' GROUP BY dm ORDER BY dm
2023-05-09 17:17:48 DEBUG 94.73.40.140 get suppliers invoices
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT sum(pf.amount) as amount_ttc, date_format(p.datep,'%Y-%m') as dm FROM oe_paiementfourn as p, oe_facture_fourn as f, oe_paiementfourn_facturefourn as pf WHERE f.rowid = pf.fk_facturefourn AND p.rowid = pf.fk_paiementfourn AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' AND f.entity IN (1) GROUP BY dm
2023-05-09 17:17:48 DEBUG 94.73.40.140 get vat really paid
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT sum(t.amount) as amount, date_format(t.datev,'%Y-%m') as dm FROM oe_tva as t WHERE amount > 0 AND t.entity IN (1) AND t.datev >= '2020-01-01 00:00:00' AND t.datev <= '2023-12-31 23:59:59' GROUP BY dm
2023-05-09 17:17:48 DEBUG 94.73.40.140 get vat really received back
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT sum(t.amount) as amount, date_format(t.datev,'%Y-%m') as dm FROM oe_tva as t WHERE amount < 0 AND t.entity IN (1) AND t.datev >= '2020-01-01 00:00:00' AND t.datev <= '2023-12-31 23:59:59' GROUP BY dm
2023-05-09 17:17:48 DEBUG 94.73.40.140 get social contributions
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT c.libelle as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount FROM oe_c_chargesociales as c, oe_chargesociales as cs, oe_paiementcharge as p WHERE p.fk_charge = cs.rowid AND cs.fk_type = c.id AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' AND cs.entity IN (1) GROUP BY c.libelle, dm
2023-05-09 17:17:48 INFO 94.73.40.140 get social salaries payments
2023-05-09 17:17:48 DEBUG 94.73.40.140 sql=SELECT p.label as nom, date_format(p.datep,'%Y-%m') as dm, sum(p.amount) as amount FROM oe_payment_salary as p INNER JOIN oe_salary as s ON p.fk_salary = s.rowid WHERE p.entity IN (1) AND p.datep >= '2020-01-01 00:00:00' AND p.datep <= '2023-12-31 23:59:59' GROUP BY p.label, dm
2023-05-09 17:17:48 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/resultat/index.php
2023-05-09 17:24:46 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:24:46 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:24:46 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:24:46 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-09 17:24:46 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-09 17:24:46 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-09 17:24:49 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:24:49 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:24:50 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:24:50 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:24:50 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:24:50 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:24:50 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:24:50 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:24:55 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:24:55 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:24:55 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:24:55 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:24:55 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-09 17:24:55 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-09 17:24:55 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-09 17:24:57 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:24:57 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:24:57 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-05-09 17:24:57 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-05-09 17:24:57 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-09 17:24:57 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-09 17:24:57 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-05-09 17:24:57 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-09 17:24:57 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-09 17:24:57 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-09 17:24:57 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-09 17:24:57 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-09 17:24:57 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-09 17:24:57 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-09 17:24:57 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-09 17:24:57 DEBUG 94.73.40.140 Form::select_comptes
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-09 17:24:57 DEBUG 94.73.40.140 /core/lib/function2.lib.php::getListOfModels
2023-05-09 17:24:57 DEBUG 94.73.40.140 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-05-09 17:24:57 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:24:57 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:24:57 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/facture/card.php
2023-05-09 17:25:31 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:25:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:25:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/fourn/facture/index.php - action=, massaction=
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:25:31 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.entity, f.ref, f.fk_statut as status, f.paye, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.datec, s.nom as socname, s.rowid as socid, s.canvas, s.client FROM oe_facture_fourn as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC LIMIT 5
2023-05-09 17:25:31 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle as label, ff.total_ht, ff.total_tva, ff.total_ttc, ff.paye, ff.date_lim_reglement, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, sum(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 AND ff.paye = 0 AND ff.fk_statut = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.paye, ff.date_lim_reglement, s.nom, s.rowid, s.email, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY ff.date_lim_reglement ASC
2023-05-09 17:25:31 INFO 94.73.40.140 --- End access to /admin/htdocs/fourn/facture/index.php
2023-05-09 17:25:33 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:25:33 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:25:33 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/fourn/facture/card.php - action=create, massaction=
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture_fourn' ORDER BY pos
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:25:33 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND ((s.fournisseur = 1 AND s.status = 1)) ORDER BY nom ASC
2023-05-09 17:25:33 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-09 17:25:33 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-09 17:25:33 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, DBIT, 0
2023-05-09 17:25:33 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-09 17:25:33 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-09 17:25:33 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-09 17:25:33 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-09 17:25:33 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-09 17:25:33 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-09 17:25:33 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-09 17:25:33 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-09 17:25:33 DEBUG 94.73.40.140 Form::select_comptes
2023-05-09 17:25:33 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-09 17:25:33 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:25:33 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:25:33 INFO 94.73.40.140 --- End access to /admin/htdocs/fourn/facture/card.php
2023-05-09 17:27:25 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:27:25 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:27:25 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:27:25 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:27:25 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:27:25 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:27:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:27:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:27:25 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-09 17:27:25 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:27:25 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:27:25 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-09 17:27:42 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:27:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:27:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:27:42 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:27:42 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:27:42 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:27:42 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:27:49 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:27:49 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:27:49 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:27:49 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:27:49 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-09 17:27:49 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-09 17:27:49 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-09 17:27:51 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:27:51 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:27:51 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/fourn/facture/card.php - action=create, massaction=
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture_fourn' ORDER BY pos
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:27:51 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND ((s.fournisseur = 1 AND s.status = 1)) ORDER BY nom ASC
2023-05-09 17:27:51 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-09 17:27:51 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-09 17:27:51 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, DBIT, 0
2023-05-09 17:27:51 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-09 17:27:51 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-09 17:27:51 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-09 17:27:51 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-09 17:27:51 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-09 17:27:51 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-09 17:27:51 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-09 17:27:51 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-09 17:27:51 DEBUG 94.73.40.140 Form::select_comptes
2023-05-09 17:27:51 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-09 17:27:51 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:27:51 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:27:51 INFO 94.73.40.140 --- End access to /admin/htdocs/fourn/facture/card.php
2023-05-09 17:29:29 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:29:29 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:29:29 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:29:29 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:29:29 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:29:29 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:29:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:29:29 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:29:29 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/admin/tools/index.php - action=, massaction=
2023-05-09 17:29:29 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:29:29 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:29:29 INFO 94.73.40.140 --- End access to /admin/htdocs/admin/tools/index.php
2023-05-09 17:29:32 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:29:32 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:29:32 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:29:32 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-09 17:29:32 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-09 17:29:32 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-09 17:29:33 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:29:33 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:29:33 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-05-09 17:29:33 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-09 17:29:33 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-09 17:29:33 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-09 17:29:33 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-09 17:29:33 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-09 17:29:33 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-09 17:29:33 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-09 17:29:33 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-09 17:29:33 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:29:33 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-09 17:29:33 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-09 17:29:33 DEBUG 94.73.40.140 FormCompany::typent_array
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-05-09 17:29:33 DEBUG 94.73.40.140 FormCompany::effectif_array
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-05-09 17:29:33 DEBUG 94.73.40.140 FormCompany::select_juridicalstatus
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-05-09 17:29:33 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:29:33 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-05-09 17:29:33 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:29:33 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:29:33 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:29:33 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-05-09 17:29:33 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:29:33 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:29:33 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-09 17:29:33 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:29:33 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:29:33 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/card.php
2023-05-09 17:46:03 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:03 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:03 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-09 17:46:03 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:46:03 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-09 17:46:03 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-09 17:46:07 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:07 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:07 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:46:07 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:46:07 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:46:07 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:46:07 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:46:11 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:11 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:11 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:46:11 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:46:11 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-09 17:46:11 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-09 17:46:11 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-09 17:46:14 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:14 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:14 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-09 17:46:14 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:46:14 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:46:14 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-09 17:46:14 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:46:14 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:46:14 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-09 17:46:14 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-09 17:46:17 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:17 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:17 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:17 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:17 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:17 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:17 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:17 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:17 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-09 17:46:17 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:17 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:17 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-09 17:46:18 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:18 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:18 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:18 DEBUG 94.73.40.140 User::loadParentOf
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-09 17:46:18 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-09 17:46:18 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-09 17:46:18 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-09 17:46:18 INFO 94.73.40.140 Build childid for id = 1
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-05-09 17:46:18 DEBUG 94.73.40.140 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-05-09 17:46:18 INFO 94.73.40.140 --- End access to /admin/htdocs/hrm/index.php
2023-05-09 17:46:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/ecm/index.php - action=, massaction=
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:21 DEBUG 94.73.40.140 EcmDirectory::load_motherof
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_ecm_directories WHERE fk_parent != 0 AND entity = 1
2023-05-09 17:46:21 DEBUG 94.73.40.140 EcmDirectory::get_full_arbo
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT c.rowid as rowid, c.label as label, c.description as description, c.cachenbofdoc, c.fk_user_c, c.date_c, u.login as login_c, u.statut as statut_c, ca.rowid as rowid_fille FROM oe_user as u, oe_ecm_directories as c LEFT JOIN oe_ecm_directories as ca ON c.rowid = ca.fk_parent WHERE c.fk_user_c = u.rowid AND c.entity = 1 ORDER BY c.label, c.rowid
2023-05-09 17:46:21 INFO 94.73.40.140 --- End access to /admin/htdocs/ecm/index.php
2023-05-09 17:46:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:22 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:22 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:22 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:22 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:22 NOTICE 94.73.40.140 --- Access to POST /admin/htdocs/core/ajax/ajaxdirtree.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-09 17:46:22 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:22 DEBUG 94.73.40.140 EcmDirectory::load_motherof
2023-05-09 17:46:22 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_ecm_directories WHERE fk_parent != 0 AND entity = 1
2023-05-09 17:46:22 DEBUG 94.73.40.140 EcmDirectory::get_full_arbo
2023-05-09 17:46:22 DEBUG 94.73.40.140 sql=SELECT c.rowid as rowid, c.label as label, c.description as description, c.cachenbofdoc, c.fk_user_c, c.date_c, u.login as login_c, u.statut as statut_c, ca.rowid as rowid_fille FROM oe_user as u, oe_ecm_directories as c LEFT JOIN oe_ecm_directories as ca ON c.rowid = ca.fk_parent WHERE c.fk_user_c = u.rowid AND c.entity = 1 ORDER BY c.label, c.rowid
2023-05-09 17:46:22 INFO 94.73.40.140 --- End access to /admin/htdocs/core/ajax/ajaxdirtree.php
2023-05-09 17:46:23 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:23 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:23 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/action/index.php - action=, massaction=
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:23 DEBUG 94.73.40.140 comm/action/index.php
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep, a.datep2, a.percent, a.fk_user_author,a.fk_user_action, a.transparency, a.priority, a.fulldayevent, a.location, a.fk_soc, a.fk_contact, a.fk_project, a.fk_element, a.elementtype, ca.code as type_code, ca.libelle as type_label, ca.color as type_color, ca.type as type_type, ca.picto as type_picto FROM oe_c_actioncomm as ca, oe_actioncomm as a, oe_actioncomm_resources as ar WHERE a.fk_action = ca.id AND a.entity IN (1) AND ar.fk_actioncomm = a.id AND ar.element_type='user' AND ( (a.datep BETWEEN '2023-04-24 00:00:00' AND '2023-06-07 23:59:59') OR (a.datep2 BETWEEN '2023-04-24 00:00:00' AND '2023-06-07 23:59:59') OR (a.datep < '2023-04-24 00:00:00' AND a.datep2 > '2023-06-07 23:59:59')) AND (ar.fk_element = 1) ORDER BY datep
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 2
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 3
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 4
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 5
2023-05-09 17:46:23 DEBUG 94.73.40.140 comm/action/index.php
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT sp.rowid, sp.lastname, sp.firstname, sp.birthday FROM oe_socpeople as sp WHERE (priv=0 OR (priv=1 AND fk_user_creat=1)) AND sp.entity IN (1) AND MONTH(birthday) = 5 ORDER BY birthday
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.statut, x.rowid, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.statut as status FROM oe_holiday as x, oe_user as u WHERE u.rowid = x.fk_user AND u.statut = '1' AND (x.statut = '2' OR x.statut = '3')
2023-05-09 17:46:23 DEBUG 94.73.40.140 CActionComm::liste_array
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-05-09 17:46:23 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:46:23 DEBUG 94.73.40.140 Form::select_dolgroups
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT ug.rowid, ug.nom as name FROM oe_usergroup as ug WHERE ug.entity IN (0, 1) ORDER BY ug.nom ASC
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-05-09 17:46:23 DEBUG 94.73.40.140 Dolresource::fetchAll
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-05-09 17:46:23 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-09 17:46:23 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-09 17:46:23 INFO 94.73.40.140 Save lastsearch_values_tmp_comm/action/index.php={"search_actioncode":[]} (systematic recording of last search criterias)
2023-05-09 17:46:23 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/action/index.php
2023-05-09 17:46:25 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:25 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:25 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/ticket/index.php - action=, massaction=
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:25 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 11 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT t.fk_statut, COUNT(t.fk_statut) as nb FROM oe_ticket as t WHERE t.entity IN (1) AND datec BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY t.fk_statut
2023-05-09 17:46:25 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:46:25 DEBUG 94.73.40.140 TicketStats::_getNbByMonth
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2022 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-05-09 17:46:25 DEBUG 94.73.40.140 TicketStats::_getNbByMonth
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2023 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-05-09 17:46:25 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.ref, t.track_id, t.datec, t.subject, t.type_code, t.category_code, t.severity_code, t.fk_statut, t.progress, type.code as type_code, type.label as type_label, category.code as category_code, category.label as category_label, severity.code as severity_code, severity.label as severity_label FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code WHERE t.entity IN (1) AND t.fk_statut=0 ORDER BY t.datec DESC LIMIT 10
2023-05-09 17:46:25 INFO 94.73.40.140 --- End access to /admin/htdocs/ticket/index.php
2023-05-09 17:46:27 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:27 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:27 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:27 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:27 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:27 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/tools.php - action=, massaction=
2023-05-09 17:46:27 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:27 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:27 INFO 94.73.40.140 --- End access to /admin/htdocs/core/tools.php
2023-05-09 17:46:28 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:28 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:28 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-09 17:46:28 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-09 17:46:28 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-09 17:46:30 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:30 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:30 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-09 17:46:30 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:46:30 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-09 17:46:30 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-09 17:46:34 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:34 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:34 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_fournisseurs::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_shipments::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 box_ficheinter::loadBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_ficheinter::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_last_ticket::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_last_modified_ticket::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_contracts::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-05-09 19:46:34' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_services_expired::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 box_graph_invoices_supplier_permonth::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 box_graph_orders_supplier_permonth::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 box_graph_orders_permonth::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_factures_fourn_imp::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_factures_fourn::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_supplier_orders::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_supplier_orders_awaiting_reception::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_factures_imp::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_factures::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type= this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 box_graph_invoices_permonth::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 box_customers_outstanding_bill_reached::loadBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-05-09 17:46:34 INFO 94.73.40.140 box_customers_outstanding_bill_reached::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-05-09 17:46:34 INFO 94.73.40.140 box_graph_propales_permonth::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 box_birthdays::loadBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '5' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '5' ORDER BY daya ASC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_birthdays::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-05-09 17:46:34 INFO 94.73.40.140 box_dolibarr_state_board::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 box_actions::loadBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_actions::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 box_comptes::loadBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_comptes::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_produits::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_produits_alerte_stock::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-09 17:46:34 INFO 94.73.40.140 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1683651642.
2023-05-09 17:46:34 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-05-09 17:46:34 INFO 94.73.40.140 box_graph_product_distribution::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_services_contracts::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 box_lastlogin::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_propales::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 box_clients::loadBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_clients::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 box_prospect::loadBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_prospect::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_contacts::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-05-09 17:46:34 INFO 94.73.40.140 box_commandes::showBox
2023-05-09 17:46:34 INFO 94.73.40.140 ModeleBoxes::showBox
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-05-09 17:46:34 DEBUG 94.73.40.140 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-05-09 17:46:34 INFO 94.73.40.140 --- End access to /admin/htdocs/index.php
2023-05-09 17:46:35 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:35 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:35 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:35 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:35 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:35 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:35 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:46:35 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:35 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:46:36 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:46:36 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:46:36 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:46:36 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:46:40 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:40 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:40 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:46:40 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:46:40 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-09 17:46:40 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-09 17:46:40 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-09 17:46:43 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:43 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:43 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-09 17:46:43 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:46:43 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:46:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-09 17:46:43 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:46:43 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:46:43 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-09 17:46:43 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-09 17:46:47 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:47 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:47 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:47 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:47 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:47 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:47 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:47 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-09 17:46:47 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:47 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:47 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-09 17:46:48 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:48 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:48 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:48 DEBUG 94.73.40.140 User::loadParentOf
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-09 17:46:48 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-09 17:46:48 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-09 17:46:48 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-09 17:46:48 INFO 94.73.40.140 Build childid for id = 1
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-05-09 17:46:48 DEBUG 94.73.40.140 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-05-09 17:46:48 INFO 94.73.40.140 --- End access to /admin/htdocs/hrm/index.php
2023-05-09 17:46:50 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:50 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:50 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:50 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-09 17:46:50 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-09 17:46:50 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-09 17:46:51 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:46:51 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:46:51 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-05-09 17:46:51 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-09 17:46:51 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-09 17:46:51 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-09 17:46:51 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-09 17:46:51 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-09 17:46:51 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-09 17:46:51 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-09 17:46:51 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-09 17:46:51 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:46:51 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-09 17:46:51 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-09 17:46:51 DEBUG 94.73.40.140 FormCompany::typent_array
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-05-09 17:46:51 DEBUG 94.73.40.140 FormCompany::effectif_array
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-05-09 17:46:51 DEBUG 94.73.40.140 FormCompany::select_juridicalstatus
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-05-09 17:46:51 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:46:51 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-05-09 17:46:51 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:46:51 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:46:51 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:46:51 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-05-09 17:46:51 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:46:51 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:46:51 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-09 17:46:51 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:46:51 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:46:51 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/card.php
2023-05-09 17:47:24 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:47:24 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:47:24 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/contact/card.php - action=create, massaction=
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'socpeople' ORDER BY pos
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-05-09 17:47:24 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-09 17:47:24 DEBUG 94.73.40.140 Form::select_civility
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, active FROM oe_c_civility WHERE active = 1
2023-05-09 17:47:24 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:47:24 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-09 17:47:24 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-09 17:47:24 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:47:24 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:47:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 4
2023-05-09 17:47:24 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:47:24 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:47:24 INFO 94.73.40.140 --- End access to /admin/htdocs/contact/card.php
2023-05-09 17:49:54 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:49:54 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:49:54 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-09 17:49:54 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:49:54 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-09 17:49:54 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-09 17:50:00 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:50:00 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:50:00 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:50:00 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:50:00 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:50:00 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:50:00 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:50:02 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:50:02 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:50:02 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/propal/card.php - action=create, massaction=
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'propal' ORDER BY pos
2023-05-09 17:50:02 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 2 OR s.client = 3) AND status=1)) ORDER BY nom ASC
2023-05-09 17:50:02 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-09 17:50:02 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-09 17:50:02 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-05-09 17:50:02 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_input_reason WHERE active > 0
2023-05-09 17:50:02 DEBUG 94.73.40.140 Form::load_cache_availability
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, position FROM oe_c_availability WHERE active > 0
2023-05-09 17:50:02 DEBUG 94.73.40.140 Form::selectAvailabilityDelay selected=, htmlname=availability_id
2023-05-09 17:50:02 DEBUG 94.73.40.140 Form::selectShippingMode
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label FROM oe_c_shipment_mode WHERE active > 0 ORDER BY libelle ASC
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'TRANS'
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'CATCH'
2023-05-09 17:50:02 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_shipment_mode WHERE code = 'UPS'
2023-05-09 17:50:02 DEBUG 94.73.40.140 /core/lib/function2.lib.php::getListOfModels
2023-05-09 17:50:02 DEBUG 94.73.40.140 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'propal' AND entity IN (0,1) ORDER BY description DESC
2023-05-09 17:50:02 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:50:02 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:50:02 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/propal/card.php
2023-05-09 17:50:36 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:50:36 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:50:36 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-09 17:50:36 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:50:36 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-09 17:50:36 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-09 17:50:37 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:50:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:50:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/card.php - action=create, massaction=
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'product' ORDER BY pos
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle FROM oe_c_barcode_type WHERE coder <> '0' AND entity = 1 ORDER BY code
2023-05-09 17:50:37 INFO 94.73.40.140 DolEditor::DolEditor htmlname=desc width= height=160 toolbarname=dolibarr_details
2023-05-09 17:50:37 DEBUG 94.73.40.140 FormProduct::selectWarehouses , fk_default_warehouse, warehouseopen, 1, 0, 0, , 0, 0, minwidth300 widthcentpercentminusxx maxwidth500
2023-05-09 17:50:37 DEBUG 94.73.40.140 FormProduct::loadWarehouses
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT e.rowid, e.ref as label, e.description, e.fk_parent, sum(ps.reel) as stock FROM oe_entrepot as e LEFT JOIN oe_product_stock as ps on ps.fk_entrepot = e.rowid WHERE e.entity IN (1) AND e.statut = 1 GROUP BY e.rowid, e.ref, e.description, e.fk_parent ORDER BY e.ref
2023-05-09 17:50:37 DEBUG 94.73.40.140 CProductNature::fetchAll
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.label, t.active FROM oe_c_product_nature as t WHERE (t.active = 1)
2023-05-09 17:50:37 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'weight')
2023-05-09 17:50:37 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'size')
2023-05-09 17:50:37 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'surface')
2023-05-09 17:50:37 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'volume')
2023-05-09 17:50:37 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:50:37 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-05-09 17:50:37 DEBUG 94.73.40.140 FormCompany::select_departement num=1737
2023-05-09 17:50:37 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=140 toolbarname=dolibarr_details
2023-05-09 17:50:37 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:50:37 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-05-09 17:50:37 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:50:37 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-09 17:50:37 INFO 94.73.40.140 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-05-09 17:50:37 INFO 94.73.40.140 get_product_vat_for_country: ret=21
2023-05-09 17:50:37 DEBUG 94.73.40.140 Form::load_cache_vatrates
2023-05-09 17:50:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-05-09 17:50:37 INFO 94.73.40.140 --- End access to /admin/htdocs/product/card.php
2023-05-09 17:51:04 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:51:04 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:51:04 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/card.php - action=create, massaction=
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'product' ORDER BY pos
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle FROM oe_c_barcode_type WHERE coder <> '0' AND entity = 1 ORDER BY code
2023-05-09 17:51:04 INFO 94.73.40.140 DolEditor::DolEditor htmlname=desc width= height=160 toolbarname=dolibarr_details
2023-05-09 17:51:04 DEBUG 94.73.40.140 CUnits::fetchAll
2023-05-09 17:51:04 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'time')
2023-05-09 17:51:05 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=140 toolbarname=dolibarr_details
2023-05-09 17:51:05 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:51:05 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:51:05 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:51:05 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-05-09 17:51:05 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:51:05 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:51:05 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-09 17:51:05 INFO 94.73.40.140 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-05-09 17:51:05 DEBUG 94.73.40.140 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-05-09 17:51:05 INFO 94.73.40.140 get_product_vat_for_country: ret=21
2023-05-09 17:51:05 DEBUG 94.73.40.140 Form::load_cache_vatrates
2023-05-09 17:51:05 DEBUG 94.73.40.140 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-05-09 17:51:05 INFO 94.73.40.140 --- End access to /admin/htdocs/product/card.php
2023-05-09 17:51:31 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:51:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:51:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/stock/card.php - action=create, massaction=
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'entrepot' ORDER BY pos
2023-05-09 17:51:31 DEBUG 94.73.40.140 FormProduct::selectWarehouses ifone, fk_parent, , 1, 0, 0, , 0, 0, minwidth200
2023-05-09 17:51:31 DEBUG 94.73.40.140 FormProduct::loadWarehouses
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT e.rowid, e.ref as label, e.description, e.fk_parent, sum(ps.reel) as stock FROM oe_entrepot as e LEFT JOIN oe_product_stock as ps on ps.fk_entrepot = e.rowid WHERE e.entity IN (1) AND e.statut = 1 GROUP BY e.rowid, e.ref, e.description, e.fk_parent ORDER BY e.ref
2023-05-09 17:51:31 INFO 94.73.40.140 DolEditor::DolEditor htmlname=desc width= height=180 toolbarname=dolibarr_notes
2023-05-09 17:51:31 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:51:31 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:51:31 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:51:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 9
2023-05-09 17:51:31 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:51:31 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:51:31 INFO 94.73.40.140 --- End access to /admin/htdocs/product/stock/card.php
2023-05-09 17:52:07 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:07 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:07 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:07 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-09 17:52:07 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-09 17:52:07 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-09 17:52:09 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:09 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:09 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-05-09 17:52:09 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-09 17:52:09 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-09 17:52:09 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-05-09 17:52:09 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return CU2305-00001
2023-05-09 17:52:09 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-09 17:52:09 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-09 17:52:09 DEBUG 94.73.40.140 mod_codeclient_monkey::getNextValue
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-05-09 17:52:09 INFO 94.73.40.140 mod_codeclient_monkey::getNextValue return SU2305-00001
2023-05-09 17:52:09 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:52:09 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-09 17:52:09 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-05-09 17:52:09 DEBUG 94.73.40.140 FormCompany::typent_array
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-05-09 17:52:09 DEBUG 94.73.40.140 FormCompany::effectif_array
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-05-09 17:52:09 DEBUG 94.73.40.140 FormCompany::select_juridicalstatus
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-05-09 17:52:09 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:52:09 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-05-09 17:52:09 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:52:09 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:52:09 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:52:09 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-05-09 17:52:09 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:52:09 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:52:09 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-09 17:52:09 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:52:09 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:52:09 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/card.php
2023-05-09 17:52:31 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:52:31 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:52:31 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:52:31 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:52:31 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:52:34 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:34 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:34 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:34 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:34 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:34 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:34 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:34 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-05-09 17:52:34 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:34 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:34 INFO 94.73.40.140 --- End access to /admin/htdocs/accountancy/index.php
2023-05-09 17:52:35 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:35 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:35 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-09 17:52:35 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:52:35 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:52:35 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-09 17:52:36 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:52:36 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:52:36 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-09 17:52:36 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-09 17:52:37 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:52:37 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:52:37 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:52:37 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:52:37 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:52:39 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:39 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:39 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-09 17:52:39 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:52:39 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-09 17:52:39 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-09 17:52:42 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:42 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:42 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:42 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:42 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:42 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:42 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:42 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-05-09 17:52:42 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:42 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:43 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-05-09 17:52:43 INFO 94.73.40.140 --- End access to /admin/htdocs/societe/index.php
2023-05-09 17:52:43 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:43 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:43 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-05-09 17:52:43 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-05-09 17:52:43 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-05-09 17:52:43 DEBUG 94.73.40.140 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-05-09 17:52:43 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/index.php
2023-05-09 17:52:48 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:48 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:48 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:52:48 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-04-09' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-04-24' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-05-09' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-05-09' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-05-24' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-06-08' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-05-09 17:52:48 INFO 94.73.40.140 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-05-09 17:52:48 DEBUG 94.73.40.140 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-05-09 17:52:48 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/index.php
2023-05-09 17:52:49 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:52:49 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:52:49 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-05-09 17:52:49 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-05-09 17:52:49 DEBUG 94.73.40.140 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-05-09 17:52:49 DEBUG 94.73.40.140 Form::load_cache_conditions_paiements
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-05-09 17:52:49 DEBUG 94.73.40.140 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-05-09 17:52:49 DEBUG 94.73.40.140 Form::load_cache_types_paiements
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-05-09 17:52:49 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-05-09 17:52:49 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-05-09 17:52:49 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-05-09 17:52:49 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-05-09 17:52:49 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-05-09 17:52:49 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-05-09 17:52:49 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-05-09 17:52:49 DEBUG 94.73.40.140 Form::select_comptes
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-05-09 17:52:49 DEBUG 94.73.40.140 /core/lib/function2.lib.php::getListOfModels
2023-05-09 17:52:49 DEBUG 94.73.40.140 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-05-09 17:52:49 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:52:49 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-05-09 17:52:49 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/facture/card.php
2023-05-09 17:53:21 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:53:21 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:53:21 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-05-09 17:53:21 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:53:21 DEBUG 94.73.40.140 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-05-09 17:53:21 INFO 94.73.40.140 --- End access to /admin/htdocs/product/index.php
2023-05-09 17:53:22 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:53:22 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:53:22 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:53:22 DEBUG 94.73.40.140 User::loadParentOf
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-09 17:53:22 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-09 17:53:22 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-09 17:53:22 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-09 17:53:22 INFO 94.73.40.140 Build childid for id = 1
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-05-09 17:53:22 DEBUG 94.73.40.140 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-05-09 17:53:22 INFO 94.73.40.140 --- End access to /admin/htdocs/hrm/index.php
2023-05-09 17:53:23 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:53:23 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:53:23 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/card.php - action=create, massaction=
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:53:23 DEBUG 94.73.40.140 User::loadParentOf
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-09 17:53:23 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-09 17:53:23 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-09 17:53:23 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-09 17:53:23 INFO 94.73.40.140 Build childid for id = 1
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:53:23 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-05-09 17:53:24 DEBUG 94.73.40.140 Form::select_civility
2023-05-09 17:53:24 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, active FROM oe_c_civility WHERE active = 1
2023-05-09 17:53:24 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:53:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:53:24 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:53:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:53:24 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:53:24 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:53:24 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=
2023-05-09 17:53:24 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-05-09 17:53:24 DEBUG 94.73.40.140 FormCompany::select_departement num=1737
2023-05-09 17:53:24 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:53:24 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:53:24 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:53:24 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 7
2023-05-09 17:53:24 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:53:24 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:53:24 INFO 94.73.40.140 DolEditor::DolEditor htmlname=signature width= height=138 toolbarname=dolibarr_notes
2023-05-09 17:53:24 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_public width= height=100 toolbarname=dolibarr_notes
2023-05-09 17:53:24 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note_private width= height=100 toolbarname=dolibarr_notes
2023-05-09 17:53:24 DEBUG 94.73.40.140 Translate::loadCacheCurrencies
2023-05-09 17:53:24 DEBUG 94.73.40.140 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-05-09 17:53:24 INFO 94.73.40.140 --- End access to /admin/htdocs/user/card.php
2023-05-09 17:53:55 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:53:55 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:53:55 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/user/list.php - action=, massaction=
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:53:55 DEBUG 94.73.40.140 User::loadParentOf
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-05-09 17:53:55 DEBUG 94.73.40.140 User::get_full_tree get user list
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-05-09 17:53:55 DEBUG 94.73.40.140 User::get_full_tree call to build_path_from_id_user
2023-05-09 17:53:55 DEBUG 94.73.40.140 User::get_full_tree dol_sort_array
2023-05-09 17:53:55 INFO 94.73.40.140 Build childid for id = 1
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_user as u LEFT JOIN oe_societe as s ON u.fk_soc = s.rowid LEFT JOIN oe_user as u2 ON u.fk_user = u2.rowid WHERE u.entity IN (0,1) AND u.employee = 1 AND u.statut IN (1)
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname, u.firstname, u.admin, u.fk_soc, u.login, u.office_phone, u.user_mobile, u.email, u.api_key, u.accountancy_code, u.gender, u.employee, u.photo, u.fk_user, u.job, u.salary, u.datelastlogin, u.datepreviouslogin, u.ldap_sid, u.statut as status, u.entity, u.tms as date_update, u.datec as date_creation, u2.rowid as id2, u2.login as login2, u2.firstname as firstname2, u2.lastname as lastname2, u2.admin as admin2, u2.fk_soc as fk_soc2, u2.office_phone as ofice_phone2, u2.user_mobile as user_mobile2, u2.email as email2, u2.gender as gender2, u2.photo as photo2, u2.entity as entity2, u2.statut as status2, s.nom as name, s.canvas FROM oe_user as u LEFT JOIN oe_societe as s ON u.fk_soc = s.rowid LEFT JOIN oe_user as u2 ON u.fk_user = u2.rowid WHERE u.entity IN (0,1) AND u.employee = 1 AND u.statut IN (1) ORDER BY u.login ASC LIMIT 21
2023-05-09 17:53:55 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:53:55 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 7
2023-05-09 17:53:55 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:53:55 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:53:55 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:53:55 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:53:55 INFO 94.73.40.140 Save lastsearch_values_tmp_user/list.php={"search_category_user_list":[]} (systematic recording of last search criterias)
2023-05-09 17:53:55 INFO 94.73.40.140 --- End access to /admin/htdocs/user/list.php
2023-05-09 17:54:31 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:54:31 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:54:31 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/action/index.php - action=, massaction=
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:54:31 DEBUG 94.73.40.140 comm/action/index.php
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT a.id, a.label, a.datep, a.datep2, a.percent, a.fk_user_author,a.fk_user_action, a.transparency, a.priority, a.fulldayevent, a.location, a.fk_soc, a.fk_contact, a.fk_project, a.fk_element, a.elementtype, ca.code as type_code, ca.libelle as type_label, ca.color as type_color, ca.type as type_type, ca.picto as type_picto FROM oe_c_actioncomm as ca, oe_actioncomm as a, oe_actioncomm_resources as ar WHERE a.fk_action = ca.id AND a.entity IN (1) AND ar.fk_actioncomm = a.id AND ar.element_type='user' AND ( (a.datep BETWEEN '2023-04-24 00:00:00' AND '2023-06-07 23:59:59') OR (a.datep2 BETWEEN '2023-04-24 00:00:00' AND '2023-06-07 23:59:59') OR (a.datep < '2023-04-24 00:00:00' AND a.datep2 > '2023-06-07 23:59:59')) AND (ar.fk_element = 1) ORDER BY datep
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 2
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 3
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 4
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE element_type = 'user' AND fk_actioncomm = 5
2023-05-09 17:54:31 DEBUG 94.73.40.140 comm/action/index.php
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT sp.rowid, sp.lastname, sp.firstname, sp.birthday FROM oe_socpeople as sp WHERE (priv=0 OR (priv=1 AND fk_user_creat=1)) AND sp.entity IN (1) AND MONTH(birthday) = 5 ORDER BY birthday
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.statut, x.rowid, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.statut as status FROM oe_holiday as x, oe_user as u WHERE u.rowid = x.fk_user AND u.statut = '1' AND (x.statut = '2' OR x.statut = '3')
2023-05-09 17:54:31 DEBUG 94.73.40.140 CActionComm::liste_array
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-05-09 17:54:31 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:54:31 DEBUG 94.73.40.140 Form::select_dolgroups
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT ug.rowid, ug.nom as name FROM oe_usergroup as ug WHERE ug.entity IN (0, 1) ORDER BY ug.nom ASC
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-05-09 17:54:31 DEBUG 94.73.40.140 Dolresource::fetchAll
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-05-09 17:54:31 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-09 17:54:31 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-09 17:54:31 INFO 94.73.40.140 Save lastsearch_values_tmp_comm/action/index.php={"search_actioncode":[]} (systematic recording of last search criterias)
2023-05-09 17:54:31 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/action/index.php
2023-05-09 17:55:10 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:55:10 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:55:10 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:55:11 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:55:11 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/comm/action/card.php - action=create, massaction=
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-05-09 17:55:11 DEBUG 94.73.40.140 dol_getIdFromCode (value for field id from key AC_OTH not found into cache)
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT id as valuetoget FROM oe_c_actioncomm WHERE code = 'AC_OTH'
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:55:11 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut != 0 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:55:11 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:55:11 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 10
2023-05-09 17:55:11 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:55:11 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:55:11 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-09 17:55:11 DEBUG 94.73.40.140 Form::selectcontacts
2023-05-09 17:55:11 DEBUG 94.73.40.140 sql=SELECT sp.rowid, sp.lastname, sp.statut, sp.firstname, sp.poste, sp.email, sp.phone, sp.phone_perso, sp.phone_mobile, sp.town AS contact_town FROM oe_socpeople as sp WHERE sp.entity IN (1) ORDER BY sp.lastname ASC
2023-05-09 17:55:11 INFO 94.73.40.140 DolEditor::DolEditor htmlname=note width= height=120 toolbarname=dolibarr_notes
2023-05-09 17:55:11 INFO 94.73.40.140 --- End access to /admin/htdocs/comm/action/card.php
2023-05-09 17:55:37 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:55:37 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:55:37 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/resource/card.php - action=create, massaction=
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'resource' ORDER BY pos
2023-05-09 17:55:37 DEBUG 94.73.40.140 FormResource::select_types_resource , fk_code_type_resource, , 2
2023-05-09 17:55:37 DEBUG 94.73.40.140 Dolresource::load_cache_code_type_resource
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, active FROM oe_c_type_resource WHERE active > 0 ORDER BY rowid
2023-05-09 17:55:37 INFO 94.73.40.140 DolEditor::DolEditor htmlname=description width= height=200 toolbarname=dolibarr_notes
2023-05-09 17:55:37 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:55:37 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:55:37 INFO 94.73.40.140 --- End access to /admin/htdocs/resource/card.php
2023-05-09 17:56:02 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:56:02 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:56:02 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-05-09 17:56:02 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:56:02 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-09 17:56:02 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:56:02 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:56:02 INFO 94.73.40.140 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-05-09 17:56:02 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/list.php
2023-05-09 17:56:02 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:56:02 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:56:02 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/compta/bank/card.php - action=create, massaction=
2023-05-09 17:56:02 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::loadCacheCurrencies
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AED'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AFN'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ALL'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ANG'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AOA'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ARS'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AWG'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AZN'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BAM'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BBD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BDT'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BGN'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BHD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BIF'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BMD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BND'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BOB'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BRL'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BSD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BWP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BYR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BZD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CLP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CNY'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'COP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CRC'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CUP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CVE'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CZK'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DKK'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DOP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DZD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ECS'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'EEK'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'EGP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ETB'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'FJD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'FKP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GGP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GHC'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GIP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GNF'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GTQ'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GYD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HKD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HNL'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HRK'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HUF'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IDR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ILS'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IMP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IRR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ISK'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JEP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JMD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JPY'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KES'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KGS'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KHR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KPW'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KRW'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KYD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KZT'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LAK'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LBP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LKR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LRD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LTL'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LVL'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MDL'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MKD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MMK'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MNT'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MRO'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MXN'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MYR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MZN'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NAD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NGN'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NIO'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NPR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NZD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'OMR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PAB'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PEN'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PHP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PKR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PLN'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PYG'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'QAR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RON'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RSD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RUB'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SAR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SBD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SCR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SEK'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SGD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SHP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SOS'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SRD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SVC'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SYP'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'THB'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TRY'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TTD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TVD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TWD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'UYU'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'UZS'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'VEF'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'VND'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'XCD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'YER'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ZAR'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Translate::getLabelFromKey
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ZWD'
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT rowid, code, label FROM oe_c_country WHERE code = 'ES'
2023-05-09 17:56:03 DEBUG 94.73.40.140 Form::select_country
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-05-09 17:56:03 DEBUG 94.73.40.140 FormCompany::select_departement selected=, country_codeid=ES
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-05-09 17:56:03 DEBUG 94.73.40.140 FormCompany::select_departement num=52
2023-05-09 17:56:03 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:56:03 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-05-09 17:56:03 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:56:03 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:56:03 DEBUG 94.73.40.140 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_account as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_account = 0 AND c.entity IN (1)
2023-05-09 17:56:03 INFO 94.73.40.140 DolEditor::DolEditor htmlname=account_comment width= height=90 toolbarname=dolibarr_notes
2023-05-09 17:56:03 INFO 94.73.40.140 --- End access to /admin/htdocs/compta/bank/card.php
2023-05-09 17:56:26 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:56:26 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:56:26 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/ticket/index.php - action=, massaction=
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:56:26 DEBUG 94.73.40.140 InfoBox::listBoxes get default box list for mode=activated userid=
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 11 AND b.fk_user = 0 ORDER BY b.box_order
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT t.fk_statut, COUNT(t.fk_statut) as nb FROM oe_ticket as t WHERE t.entity IN (1) AND datec BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY t.fk_statut
2023-05-09 17:56:26 INFO 94.73.40.140 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-05-09 17:56:26 DEBUG 94.73.40.140 TicketStats::_getNbByMonth
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2022 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-05-09 17:56:26 DEBUG 94.73.40.140 TicketStats::_getNbByMonth
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2023 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-05-09 17:56:26 DEBUG 94.73.40.140 sql=SELECT t.rowid, t.ref, t.track_id, t.datec, t.subject, t.type_code, t.category_code, t.severity_code, t.fk_statut, t.progress, type.code as type_code, type.label as type_label, category.code as category_code, category.label as category_label, severity.code as severity_code, severity.label as severity_label FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code WHERE t.entity IN (1) AND t.fk_statut=0 ORDER BY t.datec DESC LIMIT 10
2023-05-09 17:56:26 INFO 94.73.40.140 --- End access to /admin/htdocs/ticket/index.php
2023-05-09 17:56:27 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:56:27 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:56:27 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:56:27 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:56:27 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:56:27 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:56:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:56:27 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:56:27 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/ticket/card.php - action=create, massaction=
2023-05-09 17:56:27 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:56:27 DEBUG 94.73.40.140 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ticket' ORDER BY pos
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ticket' ORDER BY pos
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_ticket WHERE ref LIKE 'TS____-%' AND entity IN (1)
2023-05-09 17:56:28 INFO 94.73.40.140 mod_ticket_simple::getNextValue return TS2305-0001
2023-05-09 17:56:28 DEBUG 94.73.40.140 FormTicket::select_types_tickets , type_code, , 2, 0
2023-05-09 17:56:28 DEBUG 94.73.40.140 Ticket::load_cache_type_tickets
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, use_default, pos, description FROM oe_c_ticket_type WHERE active > 0 ORDER BY pos
2023-05-09 17:56:28 DEBUG 94.73.40.140 FormTicket::selectCategoryTickets , category_code, , 2
2023-05-09 17:56:28 DEBUG 94.73.40.140 Ticket::load_cache_categories_tickets
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, use_default, pos, description, public, active, force_severity, fk_parent FROM oe_c_ticket_category WHERE active > 0 AND entity = 1 ORDER BY pos
2023-05-09 17:56:28 DEBUG 94.73.40.140 FormTicket::selectSeveritiesTickets , severity_code, , 2
2023-05-09 17:56:28 DEBUG 94.73.40.140 Ticket::loadCacheSeveritiesTickets
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT rowid, code, label, use_default, pos, description FROM oe_c_ticket_severity WHERE active > 0 ORDER BY pos
2023-05-09 17:56:28 INFO 94.73.40.140 DolEditor::DolEditor htmlname=message width=100% height=230 toolbarname=dolibarr_notes
2023-05-09 17:56:28 DEBUG 94.73.40.140 Categorie::load_motherof
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-05-09 17:56:28 DEBUG 94.73.40.140 Categorie::get_full_arbo get category list
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 12
2023-05-09 17:56:28 DEBUG 94.73.40.140 Categorie::get_full_arbo call to buildPathFromId
2023-05-09 17:56:28 DEBUG 94.73.40.140 Categorie::get_full_arbo dol_sort_array
2023-05-09 17:56:28 DEBUG 94.73.40.140 Form::select_thirdparty_list
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-05-09 17:56:28 DEBUG 94.73.40.140 Form::selectcontacts
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT sp.rowid, sp.lastname, sp.statut, sp.firstname, sp.poste, sp.email, sp.phone, sp.phone_perso, sp.phone_mobile, sp.town AS contact_town FROM oe_socpeople as sp WHERE sp.entity IN (1) AND sp.fk_soc = -1 ORDER BY sp.lastname ASC
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='ticket' AND tc.active=1 AND tc.source='external' ORDER BY position ASC, code ASC
2023-05-09 17:56:28 DEBUG 94.73.40.140 Form::select_dolusers
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-05-09 17:56:28 INFO 94.73.40.140 --- End access to /admin/htdocs/ticket/card.php
2023-05-09 17:56:28 DEBUG 94.73.40.140 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-05-09 17:56:28 DEBUG 94.73.40.140 DefaultValues::fetchAll
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-05-09 17:56:28 NOTICE 94.73.40.140 --- Access to GET /admin/htdocs/core/ajax/fetchKnowledgeRecord.php - action=getKnowledgeRecord, massaction= NOTOKENRENEWAL=1
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-09 17:56:28 DEBUG 94.73.40.140 sql=SELECT kr.rowid, kr.ref, kr.question, kr.answer,kr.url,ctc.code FROM oe_knowledgemanagement_knowledgerecord as kr JOIN oe_c_ticket_category as ctc ON ctc.rowid = kr.fk_c_ticket_category WHERE ctc.code = 'OTHER' AND ctc.active = 1 AND (kr.lang = 'es_ES' OR kr.lang = 0 OR kr.lang IS NULL) AND kr.status = 1 AND (kr.answer IS NOT NULL AND kr.answer <> '')
2023-05-09 17:56:28 INFO 94.73.40.140 --- End access to /admin/htdocs/core/ajax/fetchKnowledgeRecord.php
2023-05-25 08:15:29 DEBUG 130.41.160.188 NEW TOKEN generated by : /admin/htdocs/user/card.php
2023-05-25 08:15:29 NOTICE 130.41.160.188 --- Access to GET /admin/htdocs/user/card.php - action= - actionlogin= - showing the login form and exit
2023-05-25 08:15:29 DEBUG 130.41.160.188 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-25 08:15:29 INFO 130.41.160.188 --- End access to /admin/htdocs/user/card.php
2023-05-25 08:15:30 DEBUG 130.41.160.188 DefaultValues::fetchAll
2023-05-25 08:15:30 DEBUG 130.41.160.188 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-25 08:15:30 NOTICE 130.41.160.188 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-25 08:15:30 DEBUG 130.41.160.188 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-25 08:15:30 INFO 130.41.160.188 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-05-25 08:15:30 DEBUG 130.41.160.188 DefaultValues::fetchAll
2023-05-25 08:15:30 DEBUG 130.41.160.188 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-25 08:15:30 NOTICE 130.41.160.188 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-25 08:15:30 DEBUG 130.41.160.188 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-25 08:15:30 DEBUG 130.41.160.188 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-05-25 08:15:30 INFO 130.41.160.188 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-05-25 08:15:36 DEBUG 130.41.160.188 DefaultValues::fetchAll
2023-05-25 08:15:36 DEBUG 130.41.160.188 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-25 08:15:36 NOTICE 130.41.160.188 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-25 08:15:36 INFO 130.41.160.188 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-05-25 08:15:36 INFO 130.41.160.188 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-05-25 08:15:36 INFO 130.41.160.188 --- End access to /admin/htdocs/viewimage.php
2023-05-25 08:15:39 DEBUG 130.41.160.188 DefaultValues::fetchAll
2023-05-25 08:15:39 DEBUG 130.41.160.188 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-05-25 08:15:39 NOTICE 130.41.160.188 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-25 08:15:39 INFO 130.41.160.188 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-05-25 08:15:39 INFO 130.41.160.188 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-05-25 08:15:39 INFO 130.41.160.188 --- End access to /admin/htdocs/viewimage.php
2023-05-25 08:15:39 NOTICE 130.41.160.188 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-05-25 08:15:39 INFO 130.41.160.188 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-05-25 08:39:13 NOTICE 130.41.160.188 --- Access to GET /admin/htdocs/user/card.php - action= - actionlogin= - showing the login form and exit
2023-05-25 08:39:13 DEBUG 130.41.160.188 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-05-25 08:39:13 INFO 130.41.160.188 --- End access to /admin/htdocs/user/card.php
2023-06-08 17:29:59 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-06-08 17:29:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-06-08 17:29:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:29:59 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-08 17:29:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:29:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-08 17:29:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:29:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:29:59 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-06-08 17:29:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:29:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-08 17:29:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:29:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:29:59 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:29:59 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-08 17:29:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:29:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-08 17:29:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:29:59 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-06-08 17:29:59 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-08 17:29:59 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-08 17:29:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:29:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-08 17:29:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:29:59 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-06-08 17:29:59 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-06-08 17:29:59 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-08 17:29:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:29:59 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-06-08 17:30:03 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-08 17:30:03 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-06-08 17:30:03 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-08 17:30:03 NOTICE 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-06-08 17:30:04 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:30:04 DEBUG 94.73.41.43 Bad password, connexion refused
2023-06-08 17:30:04 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-06-08 17:30:04 DEBUG 94.73.41.43 Events::create
2023-06-08 17:30:04 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36', '2023-06-08 19:30:04', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-08 17:30:05 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-06-08 17:30:05 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-08 17:30:05 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:30:05 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-08 17:30:05 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:30:05 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:30:05 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:30:05 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-08 17:30:12 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-08 17:30:12 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-08 17:30:12 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:30:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:30:12 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-06-08 17:30:12 DEBUG 94.73.41.43 BEGIN Transaction
2023-06-08 17:30:12 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-08 19:30:12', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-08 19:30:12', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-08 17:30:12 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:30:12 DEBUG 94.73.41.43 Events::create
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36', '2023-06-08 19:30:12', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1747x749', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-08 17:30:12 DEBUG 94.73.41.43 COMMIT Transaction
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:30:12 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:30:12 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-08 17:30:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:30:12 INFO 94.73.41.43 box_fournisseurs::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_shipments::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_ficheinter::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_last_ticket::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_contracts::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-06-08 19:30:13' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_services_expired::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_factures_fourn::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_supplier_orders::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_factures_imp::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_factures::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-06-08 17:30:13 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-08 17:30:13 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-08 17:30:13 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '6' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '6' ORDER BY daya ASC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_birthdays::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-06-08 17:30:13 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 box_actions::loadBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_actions::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 box_comptes::loadBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_comptes::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_produits::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 CommandeStats::_getAllByProduct
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-06-08 17:30:13 INFO 94.73.41.43 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686245413 - 86400) so we can't use it.
2023-06-08 17:30:13 DEBUG 94.73.41.43 FactureStats::_getAllByProduct
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-06-08 17:30:13 INFO 94.73.41.43 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-08 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-08 17:30:13 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_services_contracts::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 box_lastlogin::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_propales::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 box_clients::loadBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_clients::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 box_prospect::loadBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_prospect::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_contacts::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:30:13 INFO 94.73.41.43 box_commandes::showBox
2023-06-08 17:30:13 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-06-08 17:30:13 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-06-08 17:30:13 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-08 17:30:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-08 17:30:15 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:30:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:30:15 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-08 17:30:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-08 17:30:15 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:30:15 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-06-08 17:30:15 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:30:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:30:15 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:30:15 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-06-08 17:30:15 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-08 17:30:15 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-08 17:30:15 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:30:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:30:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:30:15 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:30:15 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-06-08 17:30:15 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-06-08 17:30:15 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-08 17:37:54 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:37:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:37:54 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:37:54 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:37:54 INFO 94.73.41.43 box_fournisseurs::showBox
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-06-08 17:37:54 INFO 94.73.41.43 box_shipments::showBox
2023-06-08 17:37:54 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-06-08 17:37:54 INFO 94.73.41.43 box_ficheinter::showBox
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-06-08 17:37:54 INFO 94.73.41.43 box_last_ticket::showBox
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-06-08 17:37:54 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:37:54 INFO 94.73.41.43 box_contracts::showBox
2023-06-08 17:37:54 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-06-08 19:37:54' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-06-08 17:37:54 INFO 94.73.41.43 box_services_expired::showBox
2023-06-08 17:37:54 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:54 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-06-08 17:37:55 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-06-08 17:37:55 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_factures_fourn::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_supplier_orders::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_factures_imp::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_factures::showBox
2023-06-08 17:37:55 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-06-08 17:37:55 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-06-08 17:37:55 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-06-08 17:37:55 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-08 17:37:55 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '6' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '6' ORDER BY daya ASC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_birthdays::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-06-08 17:37:55 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 box_actions::loadBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_actions::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 box_comptes::loadBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_comptes::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_produits::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-06-08 17:37:55 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-08 17:37:55 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:37:55 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-08 17:37:55 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_services_contracts::showBox
2023-06-08 17:37:55 INFO 94.73.41.43 box_lastlogin::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_propales::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 box_clients::loadBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_clients::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 box_prospect::loadBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_prospect::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_contacts::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:37:55 INFO 94.73.41.43 box_commandes::showBox
2023-06-08 17:37:55 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-06-08 17:37:55 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-06-08 17:37:55 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-08 17:39:15 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:39:15 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:15 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_fournisseurs::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_shipments::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_ficheinter::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_last_ticket::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_contracts::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-06-08 19:39:15' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_services_expired::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_factures_fourn::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_supplier_orders::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_factures_imp::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_factures::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-06-08 17:39:15 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-08 17:39:15 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '6' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '6' ORDER BY daya ASC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_birthdays::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-06-08 17:39:15 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 box_actions::loadBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_actions::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 box_comptes::loadBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_comptes::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_produits::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-08 17:39:15 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:39:15 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-08 17:39:15 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_services_contracts::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 box_lastlogin::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_propales::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 box_clients::loadBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_clients::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 box_prospect::loadBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_prospect::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_contacts::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:39:15 INFO 94.73.41.43 box_commandes::showBox
2023-06-08 17:39:15 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-06-08 17:39:15 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-06-08 17:39:15 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-08 17:39:25 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:39:25 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:39:25 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:25 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-06-08 17:39:25 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-06-08 17:39:25 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-08 17:39:25 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:39:25 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:39:25 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:25 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-08 17:39:28 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:39:28 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:39:28 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-06-08 17:39:28 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-06-08 17:39:28 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-06-08 17:39:28 INFO 94.73.41.43 --- End access to /admin/htdocs/product/index.php
2023-06-08 17:39:42 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:39:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:39:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/comm/index.php - action=, massaction=
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, p.fk_statut as status FROM oe_societe as s, oe_propal as p WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut IN (0,1,2,3,4) GROUP BY p.fk_statut
2023-06-08 17:39:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb, c.fk_statut as status FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) GROUP BY c.fk_statut
2023-06-08 17:39:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.ref_client, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 0
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.total_ht, p.total_tva, p.total_ttc, p.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_supplier_proposal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_statut = 0 AND p.fk_soc = s.rowid
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.ref_client, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_statut = 0 AND c.fk_soc = s.rowid
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT cf.rowid, cf.ref, cf.ref_supplier, cf.total_ht, cf.total_tva, cf.total_ttc, cf.fk_statut as status, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande_fournisseur as cf, oe_societe as s WHERE cf.entity IN (1) AND cf.fk_statut = 0 AND cf.fk_soc = s.rowid
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, s.nom as name, f.fk_statut, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_fichinter as f, oe_societe as s WHERE f.entity IN (1) AND f.fk_soc = s.rowid AND f.fk_statut = 0
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec, s.tms FROM oe_societe as s WHERE s.entity IN (1) AND s.client IN (1, 2, 3) ORDER BY s.tms DESC LIMIT 3
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas, s.datec as dc, s.tms as dm FROM oe_societe as s WHERE s.entity IN (1) AND s.fournisseur = 1 ORDER BY s.datec DESC LIMIT 3
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT p.rowid as propalid, p.entity, p.total_ttc, p.total_ht, p.total_tva, p.ref, p.ref_client, p.fk_statut, p.datep as dp, p.fin_validite as dfv, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_propal as p, oe_societe as s WHERE p.entity IN (1) AND p.fk_soc = s.rowid AND p.fk_statut = 1 ORDER BY p.rowid DESC
2023-06-08 17:39:42 DEBUG 94.73.41.43 sql=SELECT c.rowid as commandeid, c.total_ttc, c.total_ht, c.total_tva, c.ref, c.ref_client, c.fk_statut, c.date_valid as dv, c.facture as billed, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.canvas FROM oe_commande as c, oe_societe as s WHERE c.entity IN (1) AND c.fk_soc = s.rowid AND c.fk_statut IN (1, 2) ORDER BY c.rowid DESC
2023-06-08 17:39:42 INFO 94.73.41.43 --- End access to /admin/htdocs/comm/index.php
2023-06-08 17:39:44 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:39:44 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:39:44 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-06-08 17:39:44 DEBUG 94.73.41.43 Categorie::load_motherof
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-06-08 17:39:44 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-06-08 17:39:44 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-06-08 17:39:44 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-06-08 17:39:44 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-06-08 17:39:44 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-06-08 17:39:44 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/bank/list.php
2023-06-08 17:39:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:39:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:39:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:39:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:39:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:39:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:39:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:39:45 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-06-08 17:39:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:39:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:45 INFO 94.73.41.43 --- End access to /admin/htdocs/accountancy/index.php
2023-06-08 17:39:46 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:39:46 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:39:46 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:39:46 DEBUG 94.73.41.43 User::loadParentOf
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-06-08 17:39:46 DEBUG 94.73.41.43 User::get_full_tree get user list
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-06-08 17:39:46 DEBUG 94.73.41.43 User::get_full_tree call to build_path_from_id_user
2023-06-08 17:39:46 DEBUG 94.73.41.43 User::get_full_tree dol_sort_array
2023-06-08 17:39:46 INFO 94.73.41.43 Build childid for id = 1
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-06-08 17:39:46 DEBUG 94.73.41.43 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-06-08 17:39:46 INFO 94.73.41.43 --- End access to /admin/htdocs/hrm/index.php
2023-06-08 17:40:01 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-08 17:40:01 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-08 17:40:01 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_fournisseurs::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_shipments::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_ficheinter::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_last_ticket::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_contracts::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-06-08 19:40:01' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_services_expired::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_factures_fourn::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_supplier_orders::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_factures_imp::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_factures::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-06-08 17:40:01 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-08 17:40:01 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '6' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '6' ORDER BY daya ASC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_birthdays::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-06-08 17:40:01 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 box_actions::loadBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_actions::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 box_comptes::loadBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_comptes::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_produits::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-08 17:40:01 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-08 17:40:01 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-08 17:40:01 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_services_contracts::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 box_lastlogin::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_propales::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 box_clients::loadBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_clients::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 box_prospect::loadBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_prospect::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_contacts::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-08 17:40:01 INFO 94.73.41.43 box_commandes::showBox
2023-06-08 17:40:01 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-06-08 17:40:01 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-06-08 17:40:01 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-09 10:27:42 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-06-09 10:27:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-06-09 10:27:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:27:42 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-09 10:27:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:27:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-09 10:27:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:27:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:27:42 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-06-09 10:27:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:27:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-09 10:27:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:27:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:27:42 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:27:42 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-09 10:27:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:27:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-09 10:27:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:27:42 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-06-09 10:27:42 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-09 10:27:42 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-09 10:27:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:27:42 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-06-09 10:27:44 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-09 10:27:44 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-06-09 10:27:44 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-09 10:27:44 NOTICE 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-06-09 10:27:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:27:45 DEBUG 94.73.41.43 Bad password, connexion refused
2023-06-09 10:27:45 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-06-09 10:27:45 DEBUG 94.73.41.43 Events::create
2023-06-09 10:27:45 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36', '2023-06-09 12:27:45', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-09 10:27:45 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-06-09 10:27:45 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-09 10:27:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:27:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-09 10:27:45 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:27:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:27:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:27:45 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-09 10:32:23 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-09 10:32:24 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-06-09 10:32:24 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-09 10:32:24 NOTICE 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-06-09 10:32:25 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:32:25 DEBUG 94.73.41.43 Bad password, connexion refused
2023-06-09 10:32:25 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-06-09 10:32:25 DEBUG 94.73.41.43 Events::create
2023-06-09 10:32:25 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36', '2023-06-09 12:32:25', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-09 10:32:25 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-06-09 10:32:25 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-09 10:33:31 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-09 10:33:31 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-06-09 10:33:31 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-09 10:33:31 NOTICE 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-06-09 10:33:32 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:33:32 DEBUG 94.73.41.43 Bad password, connexion refused
2023-06-09 10:33:32 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-06-09 10:33:32 DEBUG 94.73.41.43 Events::create
2023-06-09 10:33:32 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36', '2023-06-09 12:33:32', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-09 10:33:32 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-06-09 10:33:32 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-09 10:33:41 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-09 10:33:41 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-06-09 10:33:41 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-09 10:33:41 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-06-09 10:33:41 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-09 10:33:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-09 10:33:41 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-09 10:33:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:33:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-09 10:33:41 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-06-09 10:33:41 DEBUG 94.73.41.43 BEGIN Transaction
2023-06-09 10:33:41 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-09 12:33:41', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-09 10:33:41 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-09 12:33:41', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-09 10:33:42 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:33:42 DEBUG 94.73.41.43 Events::create
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36', '2023-06-09 12:33:42', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1765x748', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-09 10:33:42 DEBUG 94.73.41.43 COMMIT Transaction
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-09 10:33:42 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:33:42 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_fournisseurs::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_shipments::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_ficheinter::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_last_ticket::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_contracts::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-06-09 12:33:42' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_services_expired::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_factures_fourn::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_supplier_orders::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_factures_imp::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_factures::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-06-09 10:33:42 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-09 10:33:42 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '6' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '6' ORDER BY daya ASC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_birthdays::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-06-09 10:33:42 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 box_actions::loadBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_actions::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 box_comptes::loadBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_comptes::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_produits::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-09 10:33:42 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:33:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-09 10:33:42 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_services_contracts::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 box_lastlogin::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_propales::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 box_clients::loadBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_clients::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 box_prospect::loadBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_prospect::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_contacts::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-09 10:33:42 INFO 94.73.41.43 box_commandes::showBox
2023-06-09 10:33:42 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-06-09 10:33:42 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-09 10:33:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-09 10:33:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:33:42 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-09 10:33:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-09 10:33:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:33:42 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-06-09 10:33:42 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-09 10:33:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:33:42 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-06-09 10:33:42 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-09 10:33:42 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-09 10:33:42 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-09 10:33:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-09 10:33:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-09 10:33:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:33:42 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-06-09 10:33:42 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-06-09 10:33:42 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-09 10:43:40 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-09 10:43:40 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-09 10:43:40 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:43:40 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-06-09 10:43:40 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-06-09 10:43:40 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-06-09 10:43:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-09 10:43:41 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-09 10:43:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-09 10:43:41 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:43:41 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-09 10:57:40 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-09 10:57:40 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-09 10:57:40 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_fournisseurs::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_shipments::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_ficheinter::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_last_ticket::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_contracts::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-06-09 12:57:40' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_services_expired::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_factures_fourn::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_supplier_orders::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_factures_imp::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_factures::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-06-09 10:57:40 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-09 10:57:40 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '6' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '6' ORDER BY daya ASC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_birthdays::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-06-09 10:57:40 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 box_actions::loadBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_actions::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 box_comptes::loadBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_comptes::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_produits::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-09 10:57:40 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686245413.
2023-06-09 10:57:40 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-09 10:57:40 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_services_contracts::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 box_lastlogin::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_propales::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 box_clients::loadBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_clients::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 box_prospect::loadBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_prospect::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_contacts::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-09 10:57:40 INFO 94.73.41.43 box_commandes::showBox
2023-06-09 10:57:40 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-06-09 10:57:40 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-06-09 10:57:40 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-10 10:09:01 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-06-10 10:09:01 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-06-10 10:09:01 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 10:09:01 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-10 10:09:03 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:09:03 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 10:09:03 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 10:09:03 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 10:09:03 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-06-10 10:09:03 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:09:03 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 10:09:03 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 10:09:03 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 10:09:03 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-10 10:09:03 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-10 10:09:04 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:09:04 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 10:09:04 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 10:09:04 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-06-10 10:09:04 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-10 10:09:04 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-10 10:09:05 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 10:09:05 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-06-10 10:12:05 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-10 10:12:05 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-10 10:12:05 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-10 10:12:05 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-06-10 10:12:05 DEBUG 94.73.41.43 BEGIN Transaction
2023-06-10 10:12:05 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-10 12:12:05', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-10 12:12:05', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-10 10:12:05 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 Events::create
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36', '2023-06-10 12:12:05', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1672x756', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-10 10:12:05 DEBUG 94.73.41.43 COMMIT Transaction
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-10 10:12:05 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-10 10:12:05 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_fournisseurs::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_shipments::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_ficheinter::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_last_ticket::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_contracts::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-06-10 12:12:05' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_services_expired::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_factures_fourn::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_supplier_orders::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_factures_imp::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_factures::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-06-10 10:12:05 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-06-10 10:12:05 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-10 10:12:05 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '6' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '6' ORDER BY daya ASC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_birthdays::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-06-10 10:12:05 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 box_actions::loadBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_actions::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 box_comptes::loadBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_comptes::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_produits::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 CommandeStats::_getAllByProduct
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-06-10 10:12:05 INFO 94.73.41.43 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1686391925 - 86400) so we can't use it.
2023-06-10 10:12:05 DEBUG 94.73.41.43 FactureStats::_getAllByProduct
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-06-10 10:12:05 INFO 94.73.41.43 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-06-10 10:12:05 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-10 10:12:05 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_services_contracts::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 box_lastlogin::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_propales::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 box_clients::loadBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_clients::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 box_prospect::loadBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_prospect::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_contacts::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-10 10:12:05 INFO 94.73.41.43 box_commandes::showBox
2023-06-10 10:12:05 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-06-10 10:12:05 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-06-10 10:12:06 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-10 10:12:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 10:12:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-10 10:12:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-10 10:12:06 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-10 10:12:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 10:12:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 10:12:06 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-06-10 10:12:06 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-10 10:12:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-10 10:12:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 10:12:06 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-06-10 10:12:06 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-10 10:12:06 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-10 10:12:06 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-10 10:12:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-10 10:12:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-10 10:12:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 10:12:06 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-06-10 10:12:06 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-06-10 10:12:06 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-10 19:18:37 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-06-10 19:18:37 WARNING 94.73.41.43 --- Access to POST /admin/htdocs/index.php refused by CSRF protection (CSRFCHECK_WITH_TOKEN protection) in main.inc.php. Token not provided.
2023-06-10 19:18:37 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-10 19:19:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-06-10 19:19:39 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 19:19:39 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-10 19:19:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 19:19:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:39 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 19:19:39 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-10 19:19:39 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-10 19:19:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 19:19:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:39 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 19:19:39 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-06-10 19:19:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 19:19:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:39 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-06-10 19:19:39 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-10 19:19:39 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-10 19:19:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 19:19:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:39 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-06-10 19:19:39 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-06-10 19:19:39 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-10 19:19:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:39 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-06-10 19:19:41 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-10 19:19:41 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-10 19:19:41 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-10 19:19:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-10 19:19:41 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-06-10 19:19:41 DEBUG 94.73.41.43 BEGIN Transaction
2023-06-10 19:19:41 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-10 21:19:41', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-10 21:19:41', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-10 19:19:41 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 19:19:41 DEBUG 94.73.41.43 Events::create
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', '2023-06-10 21:19:41', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1650x751', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-10 19:19:41 DEBUG 94.73.41.43 COMMIT Transaction
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-10 19:19:41 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-10 19:19:41 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_fournisseurs::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_shipments::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_ficheinter::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_last_ticket::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_contracts::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-06-10 21:19:41' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_services_expired::showBox
2023-06-10 19:19:41 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:41 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 19:19:41 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:41 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 19:19:41 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-06-10 19:19:41 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:41 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 19:19:41 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:41 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 19:19:41 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-06-10 19:19:41 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:41 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 19:19:41 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:41 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 19:19:41 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_factures_fourn::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_supplier_orders::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-06-10 19:19:41 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-06-10 19:19:41 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_factures_imp::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_factures::showBox
2023-06-10 19:19:42 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 19:19:42 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:42 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-06-10 19:19:42 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-06-10 19:19:42 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-06-10 19:19:42 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-06-10 19:19:42 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-10 19:19:42 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-06-10 19:19:42 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '6' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '6' ORDER BY daya ASC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_birthdays::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-06-10 19:19:42 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 box_actions::loadBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_actions::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 box_comptes::loadBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_comptes::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_produits::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-06-10 19:19:42 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-10 19:19:42 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1686391925.
2023-06-10 19:19:42 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-06-10 19:19:42 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_services_contracts::showBox
2023-06-10 19:19:42 INFO 94.73.41.43 box_lastlogin::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_propales::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 box_clients::loadBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_clients::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 box_prospect::loadBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_prospect::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_contacts::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-06-10 19:19:42 INFO 94.73.41.43 box_commandes::showBox
2023-06-10 19:19:42 INFO 94.73.41.43 ModeleBoxes::showBox
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-06-10 19:19:42 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-06-10 19:19:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 19:19:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-10 19:19:42 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-10 19:19:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-10 19:19:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-10 19:19:42 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-06-10 19:19:42 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-10 19:19:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:42 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-06-10 19:19:42 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-10 19:19:42 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-10 19:19:42 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-10 19:19:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-10 19:19:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-10 19:19:42 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-10 19:19:42 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-06-10 19:19:42 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-06-10 19:19:42 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-22 10:23:36 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/societe/list.php
2023-06-22 10:23:36 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action= - actionlogin= - showing the login form and exit
2023-06-22 10:23:36 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-22 10:23:36 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-06-22 10:23:36 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:36 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-22 10:23:36 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-22 10:23:36 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-22 10:23:36 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-22 10:23:36 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-22 10:23:36 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:36 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-22 10:23:36 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-22 10:23:36 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-22 10:23:36 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-06-22 10:23:36 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:36 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-22 10:23:36 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-22 10:23:36 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-06-22 10:23:36 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-22 10:23:36 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-22 10:23:37 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:37 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-22 10:23:37 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-22 10:23:37 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-06-22 10:23:37 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-06-22 10:23:37 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-06-22 10:23:37 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-22 10:23:37 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-06-22 10:23:38 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-06-22 10:23:38 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-06-22 10:23:38 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-22 10:23:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-22 10:23:38 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=f7ddcf192144ddb44755be1d6766c7e9
2023-06-22 10:23:38 DEBUG 94.73.41.43 BEGIN Transaction
2023-06-22 10:23:38 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-22 12:23:38', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-06-22 12:23:38', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-06-22 10:23:38 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-22 10:23:38 DEBUG 94.73.41.43 Events::create
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', '2023-06-22 12:23:38', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1718x722', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-06-22 10:23:38 DEBUG 94.73.41.43 COMMIT Transaction
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-22 10:23:38 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/list.php - action=, massaction=
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-06-22 10:23:38 DEBUG 94.73.41.43 Categorie::load_motherof
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-06-22 10:23:38 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-06-22 10:23:38 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-06-22 10:23:38 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-06-22 10:23:38 DEBUG 94.73.41.43 Categorie::load_motherof
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-06-22 10:23:38 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-06-22 10:23:38 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-06-22 10:23:38 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-06-22 10:23:38 DEBUG 94.73.41.43 FormCompany::typent_array
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-06-22 10:23:38 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-06-22 10:23:38 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-06-22 10:23:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-22 10:23:38 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-22 10:23:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-06-22 10:23:38 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-06-22 10:23:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-06-22 10:23:38 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-22 10:23:38 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-06-22 10:23:38 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-06-22 10:23:39 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-06-22 10:23:39 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-06-22 10:23:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-06-22 10:23:39 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-06-22 10:23:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-06-22 10:23:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-06-22 10:23:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-06-22 10:23:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-06-22 10:23:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-06-22 10:23:39 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-06-22 10:23:39 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-06-22 10:23:39 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-27 12:05:19 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-07-27 12:05:19 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-07-27 12:05:19 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:19 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-07-27 12:05:19 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:19 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 12:05:19 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:19 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:19 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:19 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-27 12:05:19 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:19 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 12:05:19 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:19 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:19 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-07-27 12:05:19 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:19 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 12:05:19 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:19 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-07-27 12:05:19 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-07-27 12:05:19 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-27 12:05:20 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:20 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 12:05:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:20 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-07-27 12:05:20 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-07-27 12:05:20 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-27 12:05:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:20 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-07-27 12:05:21 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-07-27 12:05:21 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=****************** entitytotest=1
2023-07-27 12:05:21 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-07-27 12:05:21 NOTICE 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentication KO bad password for 'oteimsa', cryptType=auto
2023-07-27 12:05:22 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:22 DEBUG 94.73.41.43 Bad password, connexion refused
2023-07-27 12:05:22 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN_FAILED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=0
2023-07-27 12:05:22 DEBUG 94.73.41.43 Events::create
2023-07-27 12:05:22 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN_FAILED', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', '2023-07-27 14:05:22', NULL, 'Identificadores de usuario o contraseña incorrectos - login=oteimsa', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-07-27 12:05:23 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action= - actionlogin=login - showing the login form and exit
2023-07-27 12:05:23 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-07-27 12:05:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 12:05:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:23 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-27 12:05:31 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-07-27 12:05:31 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-07-27 12:05:31 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 12:05:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 12:05:31 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=4b40eec05a195863499d1e8ab6ec4e26
2023-07-27 12:05:31 DEBUG 94.73.41.43 BEGIN Transaction
2023-07-27 12:05:31 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-07-27 14:05:31', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-07-27 14:05:31', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-07-27 12:05:31 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:31 DEBUG 94.73.41.43 Events::create
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', '2023-07-27 14:05:31', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1793x756', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-07-27 12:05:31 DEBUG 94.73.41.43 COMMIT Transaction
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 12:05:31 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:31 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-07-27 12:05:31 INFO 94.73.41.43 box_fournisseurs::showBox
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-07-27 12:05:31 INFO 94.73.41.43 box_shipments::showBox
2023-07-27 12:05:31 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-07-27 12:05:31 INFO 94.73.41.43 box_ficheinter::showBox
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-07-27 12:05:31 INFO 94.73.41.43 box_last_ticket::showBox
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-07-27 12:05:31 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-07-27 12:05:31 INFO 94.73.41.43 box_contracts::showBox
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-07-27 14:05:31' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-07-27 12:05:31 INFO 94.73.41.43 box_services_expired::showBox
2023-07-27 12:05:31 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459531 - 86400) so we can't use it.
2023-07-27 12:05:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:31 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 12:05:31 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459531 - 86400) so we can't use it.
2023-07-27 12:05:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:31 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 12:05:31 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-07-27 12:05:31 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459531 - 86400) so we can't use it.
2023-07-27 12:05:31 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-07-27 12:05:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 12:05:32 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 12:05:32 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_factures_fourn::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_supplier_orders::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_factures_imp::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_factures::showBox
2023-07-27 12:05:32 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 12:05:32 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 12:05:32 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-07-27 12:05:32 INFO 94.73.41.43 ModeleBoxes::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-07-27 12:05:32 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-07-27 12:05:32 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-07-27 12:05:32 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-07-27 12:05:32 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-07-27 12:05:32 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '7' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '7' ORDER BY daya ASC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_birthdays::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-07-27 12:05:32 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 box_actions::loadBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_actions::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 box_comptes::loadBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_comptes::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_produits::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 CommandeStats::_getAllByProduct
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-07-27 12:05:32 INFO 94.73.41.43 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-07-27 12:05:32 INFO 94.73.41.43 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1690459532 - 86400) so we can't use it.
2023-07-27 12:05:32 DEBUG 94.73.41.43 FactureStats::_getAllByProduct
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-07-27 12:05:32 INFO 94.73.41.43 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-07-27 12:05:32 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-07-27 12:05:32 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_services_contracts::showBox
2023-07-27 12:05:32 INFO 94.73.41.43 box_lastlogin::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_propales::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 box_clients::loadBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_clients::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 box_prospect::loadBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_prospect::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_contacts::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-07-27 12:05:32 INFO 94.73.41.43 box_commandes::showBox
2023-07-27 12:05:32 INFO 94.73.41.43 ModeleBoxes::showBox
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-07-27 12:05:32 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-07-27 12:05:32 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-07-27 12:05:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 12:05:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 12:05:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:34 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-27 12:05:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 12:05:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:34 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-07-27 12:05:34 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 12:05:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 12:05:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:34 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-07-27 12:05:34 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-07-27 12:05:34 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-27 12:05:34 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 12:05:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 12:05:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 12:05:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:34 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-07-27 12:05:34 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-07-27 12:05:34 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-27 12:05:37 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 12:05:37 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 12:05:37 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/admin/index.php - action=, massaction=
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:37 INFO 94.73.41.43 --- End access to /admin/htdocs/admin/index.php
2023-07-27 12:05:37 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 12:05:37 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 12:05:37 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 12:05:37 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:37 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-27 12:05:41 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 12:05:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 12:05:41 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/admin/modules.php - action=, massaction=
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 12:05:41 INFO 94.73.41.43 Scan directory /home/iymllvj/oteimsa/admin/htdocs/core/modules/ for module descriptor files (modXXX.class.php)
2023-07-27 12:05:41 INFO 94.73.41.43 Module modWebServicesClient not qualified
2023-07-27 12:05:41 INFO 94.73.41.43 Module modFTP not qualified
2023-07-27 12:05:41 INFO 94.73.41.43 Module modIntracommreport not qualified
2023-07-27 12:05:41 INFO 94.73.41.43 Module modZapier not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'societe' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'socpeople' AND entity IN (0, 1)
2023-07-27 12:05:41 INFO 94.73.41.43 Module modDocumentGeneration not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 useNPR
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0,1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'warehouse' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product_lot' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'resource' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'resource' AND entity IN (0,1)
2023-07-27 12:05:41 INFO 94.73.41.43 Module modBookCal not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'holiday' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 INFO 94.73.41.43 Module modStockTransfer not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'facture_det' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facturedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='order_supplier' AND tc.source='external' ORDER BY position ASC, code ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'reception' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur_dispatch' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_blockedlog WHERE entity = 1 AND action not in ('MODULE_SET','MODULE_RESET') LIMIT 1
2023-07-27 12:05:41 INFO 94.73.41.43 Module Blockedlog alreadyUsed with ignoresystem=1 is
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='commande' AND tc.source='external' ORDER BY position ASC, code ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expedition' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expeditiondet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'mrp_mo' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'socpeople' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 INFO 94.73.41.43 Module modDynamicPrices not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 useNPR
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.rowid FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.recuperableonly = 1
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'product_fournisseur_price' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 12:05:41 INFO 94.73.41.43 Module modWorkstation not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'expensereport' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinter' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'fichinterdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bom' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bom' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE elementtype = 'bom_bomline' AND entity IN (0, 1)
2023-07-27 12:05:41 INFO 94.73.41.43 Module modDataPolicy not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn_det' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'facture_fourn' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseur' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande_fournisseurdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'facture_fourn_det' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseur' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'commande_fournisseurdet' AND entity IN (0, 1)
2023-07-27 12:05:41 INFO 94.73.41.43 Module modAsset not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'user' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'user' AND entity IN (0,1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commande' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault, fieldrequired FROM oe_extrafields WHERE elementtype = 'commandedet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 User::loadParentOf
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 User::get_full_tree get user list
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 User::get_full_tree call to build_path_from_id_user
2023-07-27 12:05:41 DEBUG 94.73.41.43 User::get_full_tree dol_sort_array
2023-07-27 12:05:41 INFO 94.73.41.43 Build childid for id = 1
2023-07-27 12:05:41 INFO 94.73.41.43 Module modDeplacement not qualified
2023-07-27 12:05:41 INFO 94.73.41.43 Module modCollab not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'projet_task' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet' AND entity IN (0,1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'projet_task' AND entity IN (0,1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contrat' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'contratdet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 INFO 94.73.41.43 Module modLabel not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propal' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'propaldet' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'product' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'societe' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propal' AND entity IN (0, 1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'propaldet' AND entity IN (0, 1)
2023-07-27 12:05:41 INFO 94.73.41.43 Module modWebhook not qualified
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'adherent' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, fieldrequired FROM oe_extrafields WHERE type <> 'separate' AND elementtype = 'adherent' AND entity IN (0,1)
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT code, label, description FROM oe_c_action_trigger ORDER by rang
2023-07-27 12:05:41 DEBUG 94.73.41.43 sql=SELECT name, label, type, param, fieldcomputed, fielddefault FROM oe_extrafields WHERE elementtype = 'actioncomm' AND type <> 'separate' AND entity IN (0, 1) ORDER BY pos ASC
2023-07-27 12:05:41 INFO 94.73.41.43 Scan directory /home/iymllvj/oteimsa/admin/htdocs/partnership/core/modules/ for module descriptor files (modXXX.class.php)
2023-07-27 12:05:41 INFO 94.73.41.43 Scan directory /home/iymllvj/oteimsa/admin/htdocs/knowledgemanagement/core/modules/ for module descriptor files (modXXX.class.php)
2023-07-27 12:05:41 INFO 94.73.41.43 Scan directory /home/iymllvj/oteimsa/admin/htdocs/recruitment/core/modules/ for module descriptor files (modXXX.class.php)
2023-07-27 12:05:41 INFO 94.73.41.43 --- End access to /admin/htdocs/admin/modules.php
2023-07-27 16:30:11 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-07-27 16:30:11 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-07-27 16:30:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:11 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-07-27 16:30:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 16:30:11 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:11 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-27 16:30:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 16:30:11 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:11 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-07-27 16:30:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 16:30:11 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:11 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-07-27 16:30:11 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-07-27 16:30:11 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-27 16:30:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:12 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-07-27 16:30:13 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-07-27 16:30:13 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-07-27 16:30:13 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:13 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=4b40eec05a195863499d1e8ab6ec4e26
2023-07-27 16:30:13 DEBUG 94.73.41.43 BEGIN Transaction
2023-07-27 16:30:13 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-07-27 18:30:13', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-07-27 18:30:13', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-07-27 16:30:13 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:13 DEBUG 94.73.41.43 Events::create
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36', '2023-07-27 18:30:13', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1677x704', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-07-27 16:30:13 DEBUG 94.73.41.43 COMMIT Transaction
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:13 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:13 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_fournisseurs::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_shipments::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_ficheinter::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_last_ticket::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_contracts::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-07-27 18:30:13' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_services_expired::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1690459531.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1690459531.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_factures_fourn::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_supplier_orders::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_factures_imp::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_factures::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 ModeleBoxes::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-07-27 16:30:13 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-07-27 16:30:13 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '7' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '7' ORDER BY daya ASC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_birthdays::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-07-27 16:30:13 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 box_actions::loadBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_actions::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 box_comptes::loadBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_comptes::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_produits::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-07-27 16:30:13 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1690459532.
2023-07-27 16:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-07-27 16:30:13 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_services_contracts::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 box_lastlogin::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_propales::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 box_clients::loadBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_clients::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 box_prospect::loadBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_prospect::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_contacts::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-07-27 16:30:13 INFO 94.73.41.43 box_commandes::showBox
2023-07-27 16:30:13 INFO 94.73.41.43 ModeleBoxes::showBox
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-07-27 16:30:13 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-07-27 16:30:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 16:30:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:14 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-27 16:30:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 16:30:14 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:14 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-07-27 16:30:14 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:14 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:14 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-07-27 16:30:14 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-07-27 16:30:14 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-27 16:30:14 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:14 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:14 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-07-27 16:30:14 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-07-27 16:30:14 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-27 16:30:16 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:16 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-07-27 16:30:16 DEBUG 94.73.41.43 Categorie::load_motherof
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-07-27 16:30:16 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-07-27 16:30:16 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-07-27 16:30:16 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-07-27 16:30:16 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-07-27 16:30:16 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/bank/list.php
2023-07-27 16:30:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-27 16:30:16 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:16 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:16 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-27 16:30:19 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:19 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:19 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-06-27' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-12' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-07-27' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-07-27' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-11' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-08-26' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-07-27 16:30:19 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-06-27' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-12' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-07-27' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-07-27' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-11' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-08-26' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-07-27 16:30:19 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-07-27 16:30:19 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-07-27 16:30:20 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-07-27 16:30:20 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-07-27 16:30:20 DEBUG 94.73.41.43 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-07-27 16:30:20 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/index.php
2023-07-27 16:30:21 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:21 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:21 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-07-27 16:30:21 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-07-27 16:30:21 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-07-27 16:30:21 INFO 94.73.41.43 --- End access to /admin/htdocs/product/index.php
2023-07-27 16:30:23 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-06-27' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-12' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-07-27' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-07-27' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-11' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-08-26' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-07-27 16:30:23 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-06-27' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-12' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-07-27' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-07-27' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-11' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-08-26' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-07-27 16:30:23 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-07-27 16:30:23 DEBUG 94.73.41.43 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-07-27 16:30:23 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/index.php
2023-07-27 16:30:28 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:28 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:28 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-07-27 16:30:28 DEBUG 94.73.41.43 Form::select_dolusers
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-07-27 16:30:28 DEBUG 94.73.41.43 Categorie::load_motherof
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-07-27 16:30:28 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-07-27 16:30:28 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-07-27 16:30:28 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-07-27 16:30:28 DEBUG 94.73.41.43 Categorie::load_motherof
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-07-27 16:30:28 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-07-27 16:30:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-07-27 16:30:28 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-07-27 16:30:28 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-07-27 16:30:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-07-27 16:30:28 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-07-27 16:30:32 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:32 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:32 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-07-27 16:30:32 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-07-27 16:30:32 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-07-27 16:30:32 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-07-27 16:30:32 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-07-27 16:30:32 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-07-27 16:30:32 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-07-27 16:30:32 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-07-27 16:30:32 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-07-27 16:30:32 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-07-27 16:30:32 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-07-27 16:30:32 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-07-27 16:30:32 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-07-27 16:30:32 DEBUG 94.73.41.43 Form::select_comptes
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-07-27 16:30:32 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-07-27 16:30:32 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-07-27 16:30:32 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-07-27 16:30:32 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-07-27 16:30:32 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-07-27 16:30:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:30:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:30:35 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/fourn/facture/list.php - action=, massaction=
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture_fourn' ORDER BY pos
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture_fourn as f LEFT JOIN oe_paiementfourn_facturefourn as pf ON pf.fk_facturefourn = f.rowid LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.ref_supplier, f.type, f.datef, f.date_lim_reglement as datelimite, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_ttc, f.total_tva as total_vat, f.paye as paye, f.fk_statut as fk_statut, f.libelle as label, f.datec as date_creation, f.tms as date_update, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.note_public, f.note_private, f.fk_user_author, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender, SUM(pf.amount) as dynamount_payed FROM oe_societe as s LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture_fourn as f LEFT JOIN oe_paiementfourn_facturefourn as pf ON pf.fk_facturefourn = f.rowid LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet WHERE f.fk_soc = s.rowid AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.ref_supplier, f.type, f.datef, f.date_lim_reglement, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_ttc, f.total_tva, f.paye, f.fk_statut, f.libelle, f.datec, f.tms, f.localtax1, f.localtax2, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, f.note_public, f.note_private, f.fk_user_author, s.rowid, s.nom, s.name_alias, s.email, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, typent.code, state.code_departement, state.nom, country.code, p.rowid, p.ref, p.title, u.login, u.lastname, u.firstname, u.email, u.statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender ORDER BY f.datef DESC, f.rowid DESC LIMIT 21
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-07-27 16:30:35 DEBUG 94.73.41.43 Form::select_dolusers
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-07-27 16:30:35 DEBUG 94.73.41.43 Categorie::load_motherof
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-07-27 16:30:35 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-07-27 16:30:35 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-07-27 16:30:35 DEBUG 94.73.41.43 Categorie::load_motherof
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-07-27 16:30:35 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-07-27 16:30:35 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-07-27 16:30:35 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=search_paymentcond
2023-07-27 16:30:35 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-07-27 16:30:35 DEBUG 94.73.41.43 Form::select_types_paiements , search_paymentmode, , 0
2023-07-27 16:30:35 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-07-27 16:30:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-07-27 16:30:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-07-27 16:30:35 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/fournisseur/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-07-27 16:30:35 INFO 94.73.41.43 --- End access to /admin/htdocs/fourn/facture/list.php
2023-07-27 16:31:47 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:31:47 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:31:47 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:31:47 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-07-27 16:31:47 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-07-27 16:31:47 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-07-27 16:31:49 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:31:49 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:31:49 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-07-27 16:31:49 DEBUG 94.73.41.43 Categorie::load_motherof
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-07-27 16:31:49 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-07-27 16:31:49 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-07-27 16:31:49 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-07-27 16:31:49 DEBUG 94.73.41.43 Categorie::load_motherof
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-07-27 16:31:49 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-07-27 16:31:49 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-07-27 16:31:49 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-07-27 16:31:49 DEBUG 94.73.41.43 FormCompany::typent_array
2023-07-27 16:31:49 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-07-27 16:31:49 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-07-27 16:31:49 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-07-27 16:34:08 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-07-27 16:34:08 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-07-27 16:34:08 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-07-27 16:34:08 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-07-27 16:34:09 DEBUG 94.73.41.43 Categorie::load_motherof
2023-07-27 16:34:09 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-07-27 16:34:09 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-07-27 16:34:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-07-27 16:34:09 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-07-27 16:34:09 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-07-27 16:34:09 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-07-27 16:34:09 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/bank/list.php
2023-07-30 14:37:13 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-07-30 14:37:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-07-30 14:37:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-30 14:37:13 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-07-30 14:37:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-30 14:37:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-30 14:37:14 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-30 14:37:14 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-30 14:37:14 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-30 14:37:14 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-30 14:37:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-30 14:37:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-30 14:37:14 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-30 14:37:14 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-30 14:37:14 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-07-30 14:37:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-30 14:37:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-30 14:37:14 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-30 14:37:14 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-07-30 14:37:14 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-07-30 14:37:14 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-30 14:37:14 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-30 14:37:14 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-07-30 14:37:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-07-30 14:37:20 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-30 14:37:20 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-07-31 17:55:38 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-07-31 17:55:38 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-07-31 17:55:38 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-31 17:55:38 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-07-31 17:55:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-31 17:55:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-31 17:55:38 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-31 17:55:38 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-31 17:55:38 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-07-31 17:55:39 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-07-31 17:55:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-31 17:55:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-31 17:55:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-31 17:55:39 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-07-31 17:55:39 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-07-31 17:55:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-07-31 17:55:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-07-31 17:55:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-31 17:55:39 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-07-31 17:55:39 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-07-31 17:55:39 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-07-31 17:55:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-07-31 17:55:39 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-08-12 16:44:20 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-08-12 16:44:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-08-12 16:44:20 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:44:20 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-12 16:44:20 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:20 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-12 16:44:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:20 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:44:20 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-08-12 16:44:20 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:20 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-12 16:44:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:20 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:44:20 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:44:20 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-12 16:44:20 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:20 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-12 16:44:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:20 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-08-12 16:44:20 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-12 16:44:20 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-12 16:44:20 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:20 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-12 16:44:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:20 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-08-12 16:44:20 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-08-12 16:44:20 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-12 16:44:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:20 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-08-12 16:44:30 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-08-12 16:44:30 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-08-12 16:44:30 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:44:30 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:44:30 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=4b40eec05a195863499d1e8ab6ec4e26
2023-08-12 16:44:30 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:44:30 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-12 18:44:30', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-12 18:44:30', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-12 16:44:30 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:44:30 DEBUG 94.73.41.43 Events::create
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36', '2023-08-12 18:44:30', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=995x984', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-08-12 16:44:30 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:44:30 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:44:30 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-12 16:44:30 INFO 94.73.41.43 box_fournisseurs::showBox
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-08-12 16:44:30 INFO 94.73.41.43 box_shipments::showBox
2023-08-12 16:44:30 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-08-12 16:44:30 INFO 94.73.41.43 box_ficheinter::showBox
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-08-12 16:44:30 INFO 94.73.41.43 box_last_ticket::showBox
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-08-12 16:44:30 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-12 16:44:30 INFO 94.73.41.43 box_contracts::showBox
2023-08-12 16:44:30 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-08-12 18:44:30' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-08-12 16:44:30 INFO 94.73.41.43 box_services_expired::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_factures_fourn::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_supplier_orders::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_factures_imp::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_factures::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-08-12 16:44:31 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:31 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-12 16:44:31 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '8' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '8' ORDER BY daya ASC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_birthdays::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-08-12 16:44:31 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 box_actions::loadBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_actions::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 box_comptes::loadBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_comptes::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_produits::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 CommandeStats::_getAllByProduct
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-08-12 16:44:31 INFO 94.73.41.43 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1691858671 - 86400) so we can't use it.
2023-08-12 16:44:31 DEBUG 94.73.41.43 FactureStats::_getAllByProduct
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-08-12 16:44:31 INFO 94.73.41.43 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-12 16:44:31 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-12 16:44:31 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_services_contracts::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 box_lastlogin::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_propales::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 box_clients::loadBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_clients::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 box_prospect::loadBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_prospect::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_contacts::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-12 16:44:31 INFO 94.73.41.43 box_commandes::showBox
2023-08-12 16:44:31 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-08-12 16:44:31 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-12 16:44:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-12 16:44:31 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:44:31 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-12 16:44:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-12 16:44:31 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:44:31 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-08-12 16:44:31 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:44:31 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:31 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-08-12 16:44:31 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-12 16:44:31 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-12 16:44:31 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:44:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:44:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:44:31 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:31 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-08-12 16:44:31 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-08-12 16:44:31 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-12 16:44:54 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:44:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:44:54 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/ticket/index.php - action=, massaction=
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:44:54 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 11 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT t.fk_statut, COUNT(t.fk_statut) as nb FROM oe_ticket as t WHERE t.entity IN (1) AND datec BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY t.fk_statut
2023-08-12 16:44:54 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-12 16:44:54 DEBUG 94.73.41.43 TicketStats::_getNbByMonth
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2022 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:54 DEBUG 94.73.41.43 TicketStats::_getNbByMonth
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2023 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.track_id, t.datec, t.subject, t.type_code, t.category_code, t.severity_code, t.fk_statut, t.progress, type.code as type_code, type.label as type_label, category.code as category_code, category.label as category_label, severity.code as severity_code, severity.label as severity_label FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code WHERE t.entity IN (1) AND t.fk_statut=0 ORDER BY t.datec DESC LIMIT 10
2023-08-12 16:44:54 INFO 94.73.41.43 --- End access to /admin/htdocs/ticket/index.php
2023-08-12 16:44:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-12 16:44:54 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:44:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:44:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:44:54 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-12 16:48:48 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:48:48 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:48:48 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:48:48 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-08-12 16:48:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-08-12 16:48:48 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-08-12 16:48:49 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:48:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:48:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:48:49 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:48:49 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:48:49 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:48:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:48:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:48:49 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:48:49 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:48:49 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:48:50 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:48:50 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00001
2023-08-12 16:48:50 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:48:50 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00001
2023-08-12 16:48:50 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:48:50 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:48:50 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:48:50 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:48:50 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:48:50 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:48:50 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:48:50 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:48:50 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:48:50 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:48:50 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:48:50 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:48:50 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:48:50 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:48:50 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:48:50 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:48:50 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:48:50 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:48:50 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:48:50 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:48:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:48:50 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:49:27 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:27 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:27 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:27 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:27 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/tools.php - action=, massaction=
2023-08-12 16:49:27 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:27 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:27 INFO 94.73.41.43 --- End access to /admin/htdocs/core/tools.php
2023-08-12 16:49:28 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:28 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:28 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/comm/action/index.php - action=, massaction=
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:28 DEBUG 94.73.41.43 comm/action/index.php
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep, a.datep2, a.percent, a.fk_user_author,a.fk_user_action, a.transparency, a.priority, a.fulldayevent, a.location, a.fk_soc, a.fk_contact, a.fk_project, a.fk_element, a.elementtype, ca.code as type_code, ca.libelle as type_label, ca.color as type_color, ca.type as type_type, ca.picto as type_picto FROM oe_c_actioncomm as ca, oe_actioncomm as a, oe_actioncomm_resources as ar WHERE a.fk_action = ca.id AND a.entity IN (1) AND ar.fk_actioncomm = a.id AND ar.element_type='user' AND ( (a.datep BETWEEN '2023-07-25 00:00:00' AND '2023-09-07 23:59:59') OR (a.datep2 BETWEEN '2023-07-25 00:00:00' AND '2023-09-07 23:59:59') OR (a.datep < '2023-07-25 00:00:00' AND a.datep2 > '2023-09-07 23:59:59')) AND (ar.fk_element = 1) ORDER BY datep
2023-08-12 16:49:28 DEBUG 94.73.41.43 comm/action/index.php
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT sp.rowid, sp.lastname, sp.firstname, sp.birthday FROM oe_socpeople as sp WHERE (priv=0 OR (priv=1 AND fk_user_creat=1)) AND sp.entity IN (1) AND MONTH(birthday) = 8 ORDER BY birthday
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.statut, x.rowid, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.statut as status FROM oe_holiday as x, oe_user as u WHERE u.rowid = x.fk_user AND u.statut = '1' AND (x.statut = '2' OR x.statut = '3')
2023-08-12 16:49:28 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:49:28 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:49:28 DEBUG 94.73.41.43 Form::select_dolgroups
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT ug.rowid, ug.nom as name FROM oe_usergroup as ug WHERE ug.entity IN (0, 1) ORDER BY ug.nom ASC
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-08-12 16:49:28 DEBUG 94.73.41.43 Dolresource::fetchAll
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-08-12 16:49:28 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:49:28 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:49:28 INFO 94.73.41.43 Save lastsearch_values_tmp_comm/action/index.php={"search_actioncode":[]} (systematic recording of last search criterias)
2023-08-12 16:49:28 INFO 94.73.41.43 --- End access to /admin/htdocs/comm/action/index.php
2023-08-12 16:49:29 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:29 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:29 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/hrm/index.php - action=, massaction=
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:29 DEBUG 94.73.41.43 User::loadParentOf
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT fk_user as id_parent, rowid as id_son FROM oe_user WHERE fk_user <> 0 AND entity IN (0,1)
2023-08-12 16:49:29 DEBUG 94.73.41.43 User::get_full_tree get user list
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.firstname, u.lastname, u.fk_user, u.fk_soc, u.login, u.email, u.gender, u.admin, u.statut, u.photo, u.entity FROM oe_user as u WHERE u.entity IN (0,1)
2023-08-12 16:49:29 DEBUG 94.73.41.43 User::get_full_tree call to build_path_from_id_user
2023-08-12 16:49:29 DEBUG 94.73.41.43 User::get_full_tree dol_sort_array
2023-08-12 16:49:29 INFO 94.73.41.43 Build childid for id = 1
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.login, u.email, u.statut as user_status, u.photo, x.rowid, x.ref, x.date_debut as date, x.tms as dm, x.total_ttc, x.fk_statut as status FROM oe_expensereport as x, oe_user as u WHERE u.rowid = x.fk_user_author AND x.entity = 1 ORDER BY x.tms DESC LIMIT 3
2023-08-12 16:49:29 DEBUG 94.73.41.43 sql=SELECT rc.rowid, rc.ref, rc.email, rc.lastname, rc.firstname, rc.date_creation, rc.tms, rc.status, rp.rowid as jobid, rp.ref as jobref, rp.label FROM oe_recruitment_recruitmentcandidature as rc LEFT JOIN oe_recruitment_recruitmentjobposition as rp ON rc.fk_recruitmentjobposition = rp.rowid WHERE rc.entity IN (1) ORDER BY rc.tms DESC LIMIT 3
2023-08-12 16:49:29 INFO 94.73.41.43 --- End access to /admin/htdocs/hrm/index.php
2023-08-12 16:49:30 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:30 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:30 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/ecm/index.php - action=, massaction=
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:30 DEBUG 94.73.41.43 EcmDirectory::load_motherof
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_ecm_directories WHERE fk_parent != 0 AND entity = 1
2023-08-12 16:49:30 DEBUG 94.73.41.43 EcmDirectory::get_full_arbo
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT c.rowid as rowid, c.label as label, c.description as description, c.cachenbofdoc, c.fk_user_c, c.date_c, u.login as login_c, u.statut as statut_c, ca.rowid as rowid_fille FROM oe_user as u, oe_ecm_directories as c LEFT JOIN oe_ecm_directories as ca ON c.rowid = ca.fk_parent WHERE c.fk_user_c = u.rowid AND c.entity = 1 ORDER BY c.label, c.rowid
2023-08-12 16:49:30 INFO 94.73.41.43 --- End access to /admin/htdocs/ecm/index.php
2023-08-12 16:49:30 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:30 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:30 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/core/ajax/ajaxdirtree.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:30 DEBUG 94.73.41.43 EcmDirectory::load_motherof
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_ecm_directories WHERE fk_parent != 0 AND entity = 1
2023-08-12 16:49:30 DEBUG 94.73.41.43 EcmDirectory::get_full_arbo
2023-08-12 16:49:30 DEBUG 94.73.41.43 sql=SELECT c.rowid as rowid, c.label as label, c.description as description, c.cachenbofdoc, c.fk_user_c, c.date_c, u.login as login_c, u.statut as statut_c, ca.rowid as rowid_fille FROM oe_user as u, oe_ecm_directories as c LEFT JOIN oe_ecm_directories as ca ON c.rowid = ca.fk_parent WHERE c.fk_user_c = u.rowid AND c.entity = 1 ORDER BY c.label, c.rowid
2023-08-12 16:49:30 INFO 94.73.41.43 --- End access to /admin/htdocs/core/ajax/ajaxdirtree.php
2023-08-12 16:49:31 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:31 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/externalsite/frames.php - action=, massaction=
2023-08-12 16:49:31 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:31 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:31 INFO 94.73.41.43 --- End access to /admin/htdocs/externalsite/frames.php
2023-08-12 16:49:32 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:32 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:32 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:32 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:32 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:32 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:32 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:32 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/tools.php - action=, massaction=
2023-08-12 16:49:32 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:32 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:32 INFO 94.73.41.43 --- End access to /admin/htdocs/core/tools.php
2023-08-12 16:49:33 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:33 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:33 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/ticket/index.php - action=, massaction=
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:33 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 11 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT t.fk_statut, COUNT(t.fk_statut) as nb FROM oe_ticket as t WHERE t.entity IN (1) AND datec BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY t.fk_statut
2023-08-12 16:49:33 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-12 16:49:33 DEBUG 94.73.41.43 TicketStats::_getNbByMonth
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2022 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-08-12 16:49:33 DEBUG 94.73.41.43 TicketStats::_getNbByMonth
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT MONTH(datec) as dm, count(*) FROM oe_ticket WHERE YEAR(datec) = 2023 AND fk_statut > 0 AND entity = 1 AND fk_user_create = 1 GROUP BY dm ORDER BY dm DESC
2023-08-12 16:49:33 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.track_id, t.datec, t.subject, t.type_code, t.category_code, t.severity_code, t.fk_statut, t.progress, type.code as type_code, type.label as type_label, category.code as category_code, category.label as category_label, severity.code as severity_code, severity.label as severity_label FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code WHERE t.entity IN (1) AND t.fk_statut=0 ORDER BY t.datec DESC LIMIT 10
2023-08-12 16:49:33 INFO 94.73.41.43 --- End access to /admin/htdocs/ticket/index.php
2023-08-12 16:49:34 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/comm/action/index.php - action=, massaction=
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:34 DEBUG 94.73.41.43 comm/action/index.php
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep, a.datep2, a.percent, a.fk_user_author,a.fk_user_action, a.transparency, a.priority, a.fulldayevent, a.location, a.fk_soc, a.fk_contact, a.fk_project, a.fk_element, a.elementtype, ca.code as type_code, ca.libelle as type_label, ca.color as type_color, ca.type as type_type, ca.picto as type_picto FROM oe_c_actioncomm as ca, oe_actioncomm as a, oe_actioncomm_resources as ar WHERE a.fk_action = ca.id AND a.entity IN (1) AND ar.fk_actioncomm = a.id AND ar.element_type='user' AND ( (a.datep BETWEEN '2023-07-25 00:00:00' AND '2023-09-07 23:59:59') OR (a.datep2 BETWEEN '2023-07-25 00:00:00' AND '2023-09-07 23:59:59') OR (a.datep < '2023-07-25 00:00:00' AND a.datep2 > '2023-09-07 23:59:59')) AND (ar.fk_element = 1) ORDER BY datep
2023-08-12 16:49:34 DEBUG 94.73.41.43 comm/action/index.php
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT sp.rowid, sp.lastname, sp.firstname, sp.birthday FROM oe_socpeople as sp WHERE (priv=0 OR (priv=1 AND fk_user_creat=1)) AND sp.entity IN (1) AND MONTH(birthday) = 8 ORDER BY birthday
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.statut, x.rowid, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.statut as status FROM oe_holiday as x, oe_user as u WHERE u.rowid = x.fk_user AND u.statut = '1' AND (x.statut = '2' OR x.statut = '3')
2023-08-12 16:49:34 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:49:34 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:49:34 DEBUG 94.73.41.43 Form::select_dolgroups
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT ug.rowid, ug.nom as name FROM oe_usergroup as ug WHERE ug.entity IN (0, 1) ORDER BY ug.nom ASC
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-08-12 16:49:34 DEBUG 94.73.41.43 Dolresource::fetchAll
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-08-12 16:49:34 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:49:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:49:34 INFO 94.73.41.43 Save lastsearch_values_tmp_comm/action/index.php={"search_actioncode":[]} (systematic recording of last search criterias)
2023-08-12 16:49:34 INFO 94.73.41.43 --- End access to /admin/htdocs/comm/action/index.php
2023-08-12 16:49:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:35 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/comm/action/index.php - action=, massaction=
2023-08-12 16:49:35 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:36 DEBUG 94.73.41.43 comm/action/index.php
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep, a.datep2, a.percent, a.fk_user_author,a.fk_user_action, a.transparency, a.priority, a.fulldayevent, a.location, a.fk_soc, a.fk_contact, a.fk_project, a.fk_element, a.elementtype, ca.code as type_code, ca.libelle as type_label, ca.color as type_color, ca.type as type_type, ca.picto as type_picto FROM oe_c_actioncomm as ca, oe_actioncomm as a, oe_actioncomm_resources as ar WHERE a.fk_action = ca.id AND a.entity IN (1) AND ar.fk_actioncomm = a.id AND ar.element_type='user' AND ( (a.datep BETWEEN '2023-07-25 00:00:00' AND '2023-09-07 23:59:59') OR (a.datep2 BETWEEN '2023-07-25 00:00:00' AND '2023-09-07 23:59:59') OR (a.datep < '2023-07-25 00:00:00' AND a.datep2 > '2023-09-07 23:59:59')) AND (ar.fk_element = 1) ORDER BY datep
2023-08-12 16:49:36 DEBUG 94.73.41.43 comm/action/index.php
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT sp.rowid, sp.lastname, sp.firstname, sp.birthday FROM oe_socpeople as sp WHERE (priv=0 OR (priv=1 AND fk_user_creat=1)) AND sp.entity IN (1) AND MONTH(birthday) = 8 ORDER BY birthday
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT u.rowid as uid, u.lastname, u.firstname, u.statut, x.rowid, x.date_debut as date_start, x.date_fin as date_end, x.halfday, x.statut as status FROM oe_holiday as x, oe_user as u WHERE u.rowid = x.fk_user AND u.statut = '1' AND (x.statut = '2' OR x.statut = '3')
2023-08-12 16:49:36 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:49:36 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:49:36 DEBUG 94.73.41.43 Form::select_dolgroups
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT ug.rowid, ug.nom as name FROM oe_usergroup as ug WHERE ug.entity IN (0, 1) ORDER BY ug.nom ASC
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-08-12 16:49:36 DEBUG 94.73.41.43 Dolresource::fetchAll
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.entity, t.ref, t.description, t.fk_country, t.fk_code_type_resource, t.tms, ty.label as type_label FROM oe_resource as t LEFT JOIN oe_c_type_resource as ty ON ty.code=t.fk_code_type_resource LEFT JOIN oe_resource_extrafields as ef ON ef.fk_object=t.rowid WHERE t.entity IN (1) ORDER BY t.rowid ASC
2023-08-12 16:49:36 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:49:36 INFO 94.73.41.43 Save lastsearch_values_tmp_comm/action/index.php={"search_actioncode":[]} (systematic recording of last search criterias)
2023-08-12 16:49:36 INFO 94.73.41.43 --- End access to /admin/htdocs/comm/action/index.php
2023-08-12 16:49:36 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:36 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:36 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/ecm/index.php - action=, massaction=
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:36 DEBUG 94.73.41.43 EcmDirectory::load_motherof
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_ecm_directories WHERE fk_parent != 0 AND entity = 1
2023-08-12 16:49:36 DEBUG 94.73.41.43 EcmDirectory::get_full_arbo
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT c.rowid as rowid, c.label as label, c.description as description, c.cachenbofdoc, c.fk_user_c, c.date_c, u.login as login_c, u.statut as statut_c, ca.rowid as rowid_fille FROM oe_user as u, oe_ecm_directories as c LEFT JOIN oe_ecm_directories as ca ON c.rowid = ca.fk_parent WHERE c.fk_user_c = u.rowid AND c.entity = 1 ORDER BY c.label, c.rowid
2023-08-12 16:49:36 INFO 94.73.41.43 --- End access to /admin/htdocs/ecm/index.php
2023-08-12 16:49:36 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:36 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:36 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/core/ajax/ajaxdirtree.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:36 DEBUG 94.73.41.43 EcmDirectory::load_motherof
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_ecm_directories WHERE fk_parent != 0 AND entity = 1
2023-08-12 16:49:36 DEBUG 94.73.41.43 EcmDirectory::get_full_arbo
2023-08-12 16:49:36 DEBUG 94.73.41.43 sql=SELECT c.rowid as rowid, c.label as label, c.description as description, c.cachenbofdoc, c.fk_user_c, c.date_c, u.login as login_c, u.statut as statut_c, ca.rowid as rowid_fille FROM oe_user as u, oe_ecm_directories as c LEFT JOIN oe_ecm_directories as ca ON c.rowid = ca.fk_parent WHERE c.fk_user_c = u.rowid AND c.entity = 1 ORDER BY c.label, c.rowid
2023-08-12 16:49:36 INFO 94.73.41.43 --- End access to /admin/htdocs/core/ajax/ajaxdirtree.php
2023-08-12 16:49:37 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:37 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:37 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-08-12 16:49:37 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:49:37 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:49:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-08-12 16:49:37 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:49:37 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:49:37 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-08-12 16:49:37 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/bank/list.php
2023-08-12 16:49:39 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/bank/card.php - action=create, massaction=
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AED'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AFN'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ALL'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ANG'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AOA'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ARS'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AWG'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'AZN'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BAM'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BBD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BDT'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BGN'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BHD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BIF'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BMD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BND'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BOB'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BRL'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BSD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BWP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BYR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'BZD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CLP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CNY'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'COP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CRC'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CUP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CVE'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'CZK'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DKK'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DOP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'DZD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ECS'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'EEK'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'EGP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ETB'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'FJD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'FKP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GGP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GHC'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GIP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GNF'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GTQ'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'GYD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HKD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HNL'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HRK'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'HUF'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IDR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ILS'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IMP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'IRR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ISK'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JEP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JMD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'JPY'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KES'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KGS'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KHR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KPW'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KRW'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KYD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'KZT'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LAK'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LBP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LKR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LRD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LTL'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'LVL'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MDL'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MKD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MMK'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MNT'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MRO'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MXN'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MYR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'MZN'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NAD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NGN'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NIO'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NPR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'NZD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'OMR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PAB'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PEN'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PHP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PKR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PLN'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'PYG'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'QAR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RON'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RSD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'RUB'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SAR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SBD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SCR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SEK'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SGD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SHP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SOS'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SRD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SVC'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'SYP'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'THB'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TRY'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TTD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TVD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'TWD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'UYU'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'UZS'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'VEF'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'VND'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'XCD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'YER'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ZAR'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT label as label FROM oe_c_currencies WHERE code_iso = 'ZWD'
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE code = 'ES'
2023-08-12 16:49:39 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:49:39 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:49:39 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:49:39 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:49:39 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-08-12 16:49:39 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:49:39 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:49:39 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_account as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_account = 0 AND c.entity IN (1)
2023-08-12 16:49:39 INFO 94.73.41.43 DolEditor::DolEditor htmlname=account_comment width= height=90 toolbarname=dolibarr_notes
2023-08-12 16:49:39 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/bank/card.php
2023-08-12 16:49:54 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:54 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/bank/card.php - action=add, massaction=
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-12 16:49:54 DEBUG 94.73.41.43 Account::fetch
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.ref = '1'
2023-08-12 16:49:54 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:49:54 DEBUG 94.73.41.43 Account::create
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_account (datec, ref, label, entity, account_number, fk_accountancy_journal, bank, code_banque, code_guichet, number, cle_rib, bic, iban_prefix, domiciliation, pti_in_ctti, proprio, owner_address, currency_code, rappro, min_allowed, min_desired, comment, state_id, fk_pays, ics, ics_transfer) VALUES ('2023-08-12 18:49:54', '1', 'Cuenta', 1, '', null, '', '', '', '', '', '', '', '', 0, '', '', 'EUR', 1, 0, 0, '', null, 4, '', '')
2023-08-12 16:49:54 DEBUG 94.73.41.43 Account::update
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=UPDATE oe_bank_account SET ref = '1',label = 'Cuenta',courant = 1,clos = 0,rappro = 1,url = null,account_number = '',fk_accountancy_journal = null,bank = '',code_banque='',code_guichet='',number='',cle_rib='',bic='',iban_prefix = '',domiciliation='',pti_in_ctti=0,proprio = '',owner_address = '',currency_code = 'EUR',min_allowed = null,min_desired = null,comment = '',state_id = null,fk_pays = 4,ics = '',ics_transfer = '' WHERE rowid = 1
2023-08-12 16:49:54 WARNING 94.73.41.43 Functions.lib::dol_print_date function called with a bad value from page /admin/htdocs/compta/bank/card.php
2023-08-12 16:49:54 WARNING 94.73.41.43 Functions.lib::dol_print_date function called with a bad value from page /admin/htdocs/compta/bank/card.php
2023-08-12 16:49:54 WARNING 94.73.41.43 Functions.lib::dol_print_date function called with a bad value from page /admin/htdocs/compta/bank/card.php
2023-08-12 16:49:54 DEBUG 94.73.41.43 AccountLine::insert
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank (datec, dateo, datev, label, amount, amount_main_currency, fk_user_author, num_chq, fk_account, fk_type, emetteur,banque, rappro, numero_compte, num_releve) VALUES ('2023-08-12 20:49:54', '2023-08-12 14:00:00', '2023-08-12 14:00:00', '(Saldo inicial)', 0, NULL, 1, null, '1', 'SOLD', null, null, 0, '', null)
2023-08-12 16:49:54 DEBUG 94.73.41.43 Account::setCategoriesCommon Oject Id:1 type_categ:bank_account nb tag add:0
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_account as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_account = 1 AND c.entity IN (1)
2023-08-12 16:49:54 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT(b.num_releve)) as nb FROM oe_bank as b WHERE b.fk_account = 1
2023-08-12 16:49:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/bank/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'bank_account' AND objectid = 1 AND entity = 1
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_bank_account as te WHERE te.ref < '1'
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_bank_account as te WHERE te.ref > '1'
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_account as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_account = 1 AND c.entity IN (1)
2023-08-12 16:49:54 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_bank WHERE fk_account = 1
2023-08-12 16:49:54 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/bank/card.php
2023-08-12 16:49:59 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:49:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:49:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-08-12 16:49:59 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-12 16:49:59 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-08-12 16:49:59 INFO 94.73.41.43 --- End access to /admin/htdocs/product/index.php
2023-08-12 16:50:00 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:50:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:50:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:50:00 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-08-12 16:50:00 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-08-12 16:50:00 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-08-12 16:50:01 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:50:01 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:50:01 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:50:01 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:50:01 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00001
2023-08-12 16:50:01 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:50:01 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00001
2023-08-12 16:50:01 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:50:01 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:50:01 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:50:01 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:50:01 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:50:01 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:50:01 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:50:01 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:50:01 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:50:01 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:50:01 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:50:01 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:50:01 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:50:01 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:50:01 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:50:01 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:50:01 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:50:01 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:50:01 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:50:01 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:50:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:50:01 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:50:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:50:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:50:35 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:50:35 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:50:35 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:50:35 INFO 94.73.41.43 Societe::create CADAGUA,SA
2023-08-12 16:50:35 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:50:35 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00001' AND entity IN (1)
2023-08-12 16:50:35 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00001 type=0 result=0
2023-08-12 16:50:35 DEBUG 94.73.41.43 Societe::create
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('CADAGUA,SA', 'CADAGUA,SA', 1, '2023-08-12 18:50:35', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 16:50:35 INFO 94.73.41.43 Societe::Update id=1 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:50:35 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'CADAGUA,SA',name_alias = 'CADAGUA,SA',ref_ext = null,address = 'Calle Gran Vía, no 45, 48011 BILBAO.',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'ESA480622',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 2,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00001', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 1
2023-08-12 16:50:35 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:50:35 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=1
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:50:35 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:50:35 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:50:35', '2023-08-12 18:50:35', '2023-08-12 18:50:35', null, 40,'AC_COMPANY_CREATE', null, 1, null, 'Tercero CADAGUA,SA creado', null, 1, 1, null, 'Tercero CADAGUA,SA creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='6' WHERE id=6
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(6, 'user', 1, 0, 0, 0)
2023-08-12 16:50:35 INFO 94.73.41.43 Societe::Create success id=1
2023-08-12 16:50:35 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:1 type_categ:customer nb tag add:0
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:50:35 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:1 type_categ:supplier nb tag add:0
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:50:35 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:50:35 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:50:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:50:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:50:35 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 1
2023-08-12 16:50:35 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=1 (exemple: cus_.... for stripe)
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 1 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 1 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:50:35 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 1 AND entity = 1
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 1
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '1' AND te.entity IN (1)
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '1' AND te.entity IN (1)
2023-08-12 16:50:35 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:50:35 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00001' AND entity IN (1) AND rowid <> 1
2023-08-12 16:50:35 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00001 type=0 result=0
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 1 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 1
2023-08-12 16:50:35 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:50:35 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/1'
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 1 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:50:35 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 1 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:50:35 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 6
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 6 AND element_type IN ('user', 'socpeople')
2023-08-12 16:50:35 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:50:35 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:50:38 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:50:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:50:38 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:50:38 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:50:38 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00002
2023-08-12 16:50:38 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:50:38 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00002
2023-08-12 16:50:38 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:50:38 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:50:38 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:50:38 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:50:38 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:50:38 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:50:38 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:50:38 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:50:38 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:50:38 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:50:38 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:50:38 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:50:38 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:50:38 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:50:38 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:50:38 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:50:38 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:50:38 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:50:38 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:50:38 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:50:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:50:38 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:51:21 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:51:21 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:51:21 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:51:21 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:51:21 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:51:21 INFO 94.73.41.43 Societe::create TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL
2023-08-12 16:51:21 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:51:21 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00002' AND entity IN (1)
2023-08-12 16:51:21 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00002 type=0 result=0
2023-08-12 16:51:21 DEBUG 94.73.41.43 Societe::create
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL', 'TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL', 1, '2023-08-12 18:51:21', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 16:51:21 INFO 94.73.41.43 Societe::Update id=2 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:51:21 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL',name_alias = 'TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL',ref_ext = null,address = 'C/. Rafael Calvo, no. 3, 28010 MADRID',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'B-8701497',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 2,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00002', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 2
2023-08-12 16:51:21 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:51:21 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=2
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:51:21 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:51:21 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:51:21', '2023-08-12 18:51:21', '2023-08-12 18:51:21', null, 40,'AC_COMPANY_CREATE', null, 2, null, 'Tercero TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL creado', null, 1, 1, null, 'Tercero TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='7' WHERE id=7
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(7, 'user', 1, 0, 0, 0)
2023-08-12 16:51:21 INFO 94.73.41.43 Societe::Create success id=2
2023-08-12 16:51:21 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:2 type_categ:customer nb tag add:0
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:51:21 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:2 type_categ:supplier nb tag add:0
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:51:21 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:51:21 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:51:21 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:51:21 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:51:21 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:51:21 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 2
2023-08-12 16:51:22 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=2 (exemple: cus_.... for stripe)
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 2 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 2 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:51:22 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 2 AND entity = 1
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 2
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '2' AND te.entity IN (1)
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '2' AND te.entity IN (1)
2023-08-12 16:51:22 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:51:22 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00002' AND entity IN (1) AND rowid <> 2
2023-08-12 16:51:22 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00002 type=0 result=0
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 2 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 2
2023-08-12 16:51:22 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:51:22 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/2'
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 2 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:51:22 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 2 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:51:22 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 7
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 7 AND element_type IN ('user', 'socpeople')
2023-08-12 16:51:22 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:51:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:51:22 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:51:30 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:51:30 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:51:30 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:51:30 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:51:30 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00003
2023-08-12 16:51:30 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:51:30 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00003
2023-08-12 16:51:30 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:51:30 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:51:30 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:51:30 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:51:30 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:51:30 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:51:30 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:51:30 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:51:30 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:51:30 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:51:30 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:51:30 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:51:30 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:51:30 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:51:30 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:51:30 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:51:30 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:51:30 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:51:30 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:51:30 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:51:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:51:30 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:51:56 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:51:56 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:51:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:51:56 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:51:56 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:51:56 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:51:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:51:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:51:56 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/ajax/ziptown.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:51:56 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:51:56 INFO 94.73.41.43 ziptown call with MAIN_USE_ZIPTOWN_DICTIONNARY=
2023-08-12 16:51:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT s.zip, s.town, s.fk_departement as fk_county, s.fk_pays as fk_country, c.code as country_code, c.label as country, d.code_departement as county_code , d.nom as county FROM oe_societe as s LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid WHERE s.zip LIKE 'H-79822862%' ORDER BY s.fk_pays, s.zip, s.town LIMIT 100
2023-08-12 16:51:56 INFO 94.73.41.43 --- End access to /admin/htdocs/core/ajax/ziptown.php
2023-08-12 16:51:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:51:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:51:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:51:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:51:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:51:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:51:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:51:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:51:57 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 16:51:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:51:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:51:58 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:51:58 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:51:58 INFO 94.73.41.43 Societe::create COMUNIDAD DE PROPIETARIOS
2023-08-12 16:51:58 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00003 module=mod_codeclient_monkey
2023-08-12 16:51:58 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00003' AND entity IN (1)
2023-08-12 16:51:58 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00003 type=0 result=0
2023-08-12 16:51:58 DEBUG 94.73.41.43 Societe::create
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('COMUNIDAD DE PROPIETARIOS', 'COMUNIDAD DE PROPIETARIOS', 1, '2023-08-12 18:51:58', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 16:51:58 INFO 94.73.41.43 Societe::Update id=3 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:51:58 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'COMUNIDAD DE PROPIETARIOS',name_alias = 'COMUNIDAD DE PROPIETARIOS',ref_ext = null,address = 'Calle Almansa, no. 21, 28039 MADRID.',zip = 'H-79822862',town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = '',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 1,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00003', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 3
2023-08-12 16:51:58 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:51:58 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=3
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-12 16:51:58 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:51:58 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:51:58', '2023-08-12 18:51:58', '2023-08-12 18:51:58', null, 40,'AC_COMPANY_CREATE', null, 3, null, 'Tercero COMUNIDAD DE PROPIETARIOS creado', null, 1, 1, null, 'Tercero COMUNIDAD DE PROPIETARIOS creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='8' WHERE id=8
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(8, 'user', 1, 0, 0, 0)
2023-08-12 16:51:58 INFO 94.73.41.43 Societe::Create success id=3
2023-08-12 16:51:58 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:3 type_categ:customer nb tag add:0
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 3 AND c.entity IN (1)
2023-08-12 16:51:58 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:3 type_categ:supplier nb tag add:0
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 3 AND c.entity IN (1)
2023-08-12 16:51:58 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:51:58 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:51:58 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:51:58 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:51:58 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 3
2023-08-12 16:51:58 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=3 (exemple: cus_.... for stripe)
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 3 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 3 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:51:58 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/3 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 3 AND entity = 1
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 3
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '3' AND te.entity IN (1)
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '3' AND te.entity IN (1)
2023-08-12 16:51:58 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00003 module=mod_codeclient_monkey
2023-08-12 16:51:58 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00003' AND entity IN (1) AND rowid <> 3
2023-08-12 16:51:58 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00003 type=0 result=0
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 3 AND c.entity IN (1)
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 3 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 3
2023-08-12 16:51:58 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/3 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:51:58 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/3'
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 3 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:51:58 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 3 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:51:58 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 8
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 8 AND element_type IN ('user', 'socpeople')
2023-08-12 16:51:58 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:51:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:51:58 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:00 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-12 16:52:00 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:00 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:52:00 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:00 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:00 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:00 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:52:00 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:00 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-12 16:52:00 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:52:00 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:52:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:52:00 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-12 16:52:00 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-12 16:52:03 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:03 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:03 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 1
2023-08-12 16:52:03 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=1 (exemple: cus_.... for stripe)
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 1 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 1 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:52:03 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 1 AND entity = 1
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 1
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '1' AND te.entity IN (1)
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '1' AND te.entity IN (1)
2023-08-12 16:52:03 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:52:03 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00001' AND entity IN (1) AND rowid <> 1
2023-08-12 16:52:03 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00001 type=0 result=0
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 1 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 1
2023-08-12 16:52:03 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:52:03 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/1'
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 1 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:52:03 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 1 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:52:03 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 6
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 6 AND element_type IN ('user', 'socpeople')
2023-08-12 16:52:03 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:52:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:03 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:06 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=edit, massaction=
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 1
2023-08-12 16:52:06 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=1 (exemple: cus_.... for stripe)
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 1 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 1 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:52:06 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 1 AND entity = 1
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 1
2023-08-12 16:52:06 INFO 94.73.41.43 Societe::codeclient_modifiable code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:52:06 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:52:06 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00001' AND entity IN (1) AND rowid <> 1
2023-08-12 16:52:06 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00001 type=0 result=0
2023-08-12 16:52:06 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:52:06 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00004
2023-08-12 16:52:06 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:52:06 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:52:06 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:52:06 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:52:06 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:52:06 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:52:06 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:52:06 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:52:06 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:52:06 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:52:06 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:06 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:52:06 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:06 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:52:06 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:06 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:52:06 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:06 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:52:06 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:52:06 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:52:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 1 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:06 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:09 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:09 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=update, massaction=
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:09 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:52:09 INFO 94.73.41.43 Societe::codeclient_modifiable code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:52:09 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:52:09 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00001' AND entity IN (1) AND rowid <> 1
2023-08-12 16:52:09 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00001 type=0 result=0
2023-08-12 16:52:09 INFO 94.73.41.43 Societe::codefournisseur_modifiable code_founisseur= module=mod_codeclient_monkey
2023-08-12 16:52:09 INFO 94.73.41.43 Societe::Update id=1 call_trigger=1 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:52:09 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:52:09 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:52:09 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00001' AND entity IN (1) AND rowid <> 1
2023-08-12 16:52:09 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00001 type=0 result=0
2023-08-12 16:52:09 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'CADAGUA,SA',name_alias = 'CADAGUA,SA',ref_ext = null,address = 'Calle Gran Vía, no 45, 48011 BILBAO.',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'ESA480622',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_stcomm=0,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 1,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00001', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 1
2023-08-12 16:52:09 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=1
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:09 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:52:09 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:52:09', '2023-08-12 18:52:09', '2023-08-12 18:52:09', null, 40,'AC_COMPANY_MODIFY', null, 1, null, 'Tercero CADAGUA,SA modificado', null, 1, 1, null, 'Tercero CADAGUA,SA modificado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='9' WHERE id=9
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(9, 'user', 1, 0, 0, 0)
2023-08-12 16:52:09 INFO 94.73.41.43 Trigger 'Stripe' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php. id=1
2023-08-12 16:52:09 DEBUG 94.73.41.43 Stripe::getStripeAccount
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT tokenstring FROM oe_oauth_token WHERE service = 'StripeTest' AND entity = 1 AND fk_soc IS NULL AND fk_user IS NULL AND fk_adherent IS NULL
2023-08-12 16:52:09 INFO 94.73.41.43 No dedicated Stripe Connect account available for entity 1
2023-08-12 16:52:09 DEBUG 94.73.41.43 Stripe::customerStripe search stripe customer id for thirdparty id=1
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 1 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND (sa.site_account IS NULL OR sa.site_account = '' OR sa.site_account = '') AND sa.key_account IS NOT NULL AND sa.key_account <> ''
2023-08-12 16:52:09 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:52:09 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 1 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:09 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:1 type_categ:customer nb tag add:0
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:52:09 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:1 type_categ:supplier nb tag add:0
2023-08-12 16:52:09 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:52:09 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:10 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:10 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:10 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 1
2023-08-12 16:52:10 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=1 (exemple: cus_.... for stripe)
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 1 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 1 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:52:10 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 1 AND entity = 1
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 1
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '1' AND te.entity IN (1)
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '1' AND te.entity IN (1)
2023-08-12 16:52:10 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00001 module=mod_codeclient_monkey
2023-08-12 16:52:10 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00001' AND entity IN (1) AND rowid <> 1
2023-08-12 16:52:10 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00001 type=0 result=0
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 1 AND c.entity IN (1)
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 1 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 1
2023-08-12 16:52:10 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:52:10 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/1'
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 1 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:52:10 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 1 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:52:10 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 9
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 9 AND element_type IN ('user', 'socpeople')
2023-08-12 16:52:10 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 6
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 6 AND element_type IN ('user', 'socpeople')
2023-08-12 16:52:10 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:52:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:10 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:11 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:11 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-12 16:52:11 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:11 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:52:11 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:11 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:11 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:11 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:52:11 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:11 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-12 16:52:11 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:52:11 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:52:11 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:52:11 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-12 16:52:11 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-12 16:52:13 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 2
2023-08-12 16:52:14 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=2 (exemple: cus_.... for stripe)
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 2 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 2 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:52:14 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 2 AND entity = 1
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 2
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '2' AND te.entity IN (1)
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '2' AND te.entity IN (1)
2023-08-12 16:52:14 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:52:14 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00002' AND entity IN (1) AND rowid <> 2
2023-08-12 16:52:14 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00002 type=0 result=0
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 2 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 2
2023-08-12 16:52:14 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:52:14 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/2'
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 2 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:52:14 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 2 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:52:14 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 7
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 7 AND element_type IN ('user', 'socpeople')
2023-08-12 16:52:14 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:52:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:14 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:16 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:16 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=edit, massaction=
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 2
2023-08-12 16:52:16 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=2 (exemple: cus_.... for stripe)
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 2 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 2 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:52:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 2 AND entity = 1
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 2
2023-08-12 16:52:16 INFO 94.73.41.43 Societe::codeclient_modifiable code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:52:16 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:52:16 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00002' AND entity IN (1) AND rowid <> 2
2023-08-12 16:52:16 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00002 type=0 result=0
2023-08-12 16:52:16 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:52:16 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00004
2023-08-12 16:52:16 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:52:16 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:52:16 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:52:16 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:52:16 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:52:16 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:52:16 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:52:16 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:52:16 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:52:16 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:52:16 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:16 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:52:16 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:16 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:52:16 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:16 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:52:16 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:16 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:52:16 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:52:16 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:52:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 2 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:16 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:20 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:20 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:20 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=update, massaction=
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:20 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:52:20 INFO 94.73.41.43 Societe::codeclient_modifiable code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:52:20 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:52:20 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00002' AND entity IN (1) AND rowid <> 2
2023-08-12 16:52:20 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00002 type=0 result=0
2023-08-12 16:52:20 INFO 94.73.41.43 Societe::codefournisseur_modifiable code_founisseur= module=mod_codeclient_monkey
2023-08-12 16:52:20 INFO 94.73.41.43 Societe::Update id=2 call_trigger=1 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:52:20 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:52:20 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:52:20 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00002' AND entity IN (1) AND rowid <> 2
2023-08-12 16:52:20 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00002 type=0 result=0
2023-08-12 16:52:20 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL',name_alias = 'TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL',ref_ext = null,address = 'C/. Rafael Calvo, no. 3, 28010 MADRID',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'B-8701497',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_stcomm=0,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 1,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00002', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 2
2023-08-12 16:52:20 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=2
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:20 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:52:20 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:52:20', '2023-08-12 18:52:20', '2023-08-12 18:52:20', null, 40,'AC_COMPANY_MODIFY', null, 2, null, 'Tercero TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL modificado', null, 1, 1, null, 'Tercero TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL modificado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='10' WHERE id=10
2023-08-12 16:52:20 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(10, 'user', 1, 0, 0, 0)
2023-08-12 16:52:21 INFO 94.73.41.43 Trigger 'Stripe' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php. id=2
2023-08-12 16:52:21 DEBUG 94.73.41.43 Stripe::getStripeAccount
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT tokenstring FROM oe_oauth_token WHERE service = 'StripeTest' AND entity = 1 AND fk_soc IS NULL AND fk_user IS NULL AND fk_adherent IS NULL
2023-08-12 16:52:21 INFO 94.73.41.43 No dedicated Stripe Connect account available for entity 1
2023-08-12 16:52:21 DEBUG 94.73.41.43 Stripe::customerStripe search stripe customer id for thirdparty id=2
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 2 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND (sa.site_account IS NULL OR sa.site_account = '' OR sa.site_account = '') AND sa.key_account IS NOT NULL AND sa.key_account <> ''
2023-08-12 16:52:21 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:52:21 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 2 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:21 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:2 type_categ:customer nb tag add:0
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:52:21 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:2 type_categ:supplier nb tag add:0
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:52:21 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:21 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:21 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:21 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 2
2023-08-12 16:52:21 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=2 (exemple: cus_.... for stripe)
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 2 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 2 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:52:21 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 2 AND entity = 1
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 2
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '2' AND te.entity IN (1)
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '2' AND te.entity IN (1)
2023-08-12 16:52:21 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-12 16:52:21 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00002' AND entity IN (1) AND rowid <> 2
2023-08-12 16:52:21 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00002 type=0 result=0
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 2 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 2
2023-08-12 16:52:21 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:52:21 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/2'
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 2 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:52:21 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 2 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:52:21 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 10
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 10 AND element_type IN ('user', 'socpeople')
2023-08-12 16:52:21 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 7
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 7 AND element_type IN ('user', 'socpeople')
2023-08-12 16:52:21 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:52:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:21 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:22 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:22 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:22 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:52:22 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:52:22 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00004
2023-08-12 16:52:22 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:52:22 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00004
2023-08-12 16:52:22 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:52:22 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:52:22 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:52:22 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:52:22 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:52:22 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:52:22 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:52:22 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:52:22 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:52:22 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:52:22 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:22 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:52:22 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:22 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:22 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:22 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:52:22 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:22 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:22 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:52:22 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:52:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:52:22 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:44 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:44 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:44 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:44 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:44 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:44 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:44 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:44 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:44 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/ajax/ziptown.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:52:44 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:44 INFO 94.73.41.43 ziptown call with MAIN_USE_ZIPTOWN_DICTIONNARY=
2023-08-12 16:52:44 DEBUG 94.73.41.43 sql=SELECT DISTINCT s.zip, s.town, s.fk_departement as fk_county, s.fk_pays as fk_country, c.code as country_code, c.label as country, d.code_departement as county_code , d.nom as county FROM oe_societe as s LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid WHERE s.zip LIKE 'B-82038605%' ORDER BY s.fk_pays, s.zip, s.town LIMIT 100
2023-08-12 16:52:44 INFO 94.73.41.43 --- End access to /admin/htdocs/core/ajax/ziptown.php
2023-08-12 16:52:51 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:51 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:51 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:51 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:52:51 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:52:51 INFO 94.73.41.43 Societe::create INVERSIONES Y PATRIMONIO CASTELLANA,SL
2023-08-12 16:52:51 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00004 module=mod_codeclient_monkey
2023-08-12 16:52:51 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00004' AND entity IN (1)
2023-08-12 16:52:51 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00004 type=0 result=0
2023-08-12 16:52:51 DEBUG 94.73.41.43 Societe::create
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('INVERSIONES Y PATRIMONIO CASTELLANA,SL', 'INVERSIONES Y PATRIMONIO CASTELLANA,SL', 1, '2023-08-12 18:52:51', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 16:52:51 INFO 94.73.41.43 Societe::Update id=4 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:52:51 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'INVERSIONES Y PATRIMONIO CASTELLANA,SL',name_alias = 'INVERSIONES Y PATRIMONIO CASTELLANA,SL',ref_ext = null,address = 'Paseo de la Castellana, no. 141 – Planta 17-C - 28046 MADRID',zip = 'B-82038605',town = 'madrid',fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = '',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 1,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00004', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 4
2023-08-12 16:52:51 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:52:51 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=4
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-12 16:52:51 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:52:51 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:52:51', '2023-08-12 18:52:51', '2023-08-12 18:52:51', null, 40,'AC_COMPANY_CREATE', null, 4, null, 'Tercero INVERSIONES Y PATRIMONIO CASTELLANA,SL creado', null, 1, 1, null, 'Tercero INVERSIONES Y PATRIMONIO CASTELLANA,SL creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='11' WHERE id=11
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(11, 'user', 1, 0, 0, 0)
2023-08-12 16:52:51 INFO 94.73.41.43 Societe::Create success id=4
2023-08-12 16:52:51 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:4 type_categ:customer nb tag add:0
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 4 AND c.entity IN (1)
2023-08-12 16:52:51 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:4 type_categ:supplier nb tag add:0
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 4 AND c.entity IN (1)
2023-08-12 16:52:51 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:52:51 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:51 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:51 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:51 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 4
2023-08-12 16:52:51 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=4 (exemple: cus_.... for stripe)
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 4 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 4 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:52:51 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/4 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 4 AND entity = 1
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 4
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '4' AND te.entity IN (1)
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '4' AND te.entity IN (1)
2023-08-12 16:52:51 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00004 module=mod_codeclient_monkey
2023-08-12 16:52:51 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00004' AND entity IN (1) AND rowid <> 4
2023-08-12 16:52:51 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00004 type=0 result=0
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 4 AND c.entity IN (1)
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 4 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 4
2023-08-12 16:52:51 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/4 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:52:51 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/4'
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 4 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:52:51 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 4 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:52:51 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 11
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 11 AND element_type IN ('user', 'socpeople')
2023-08-12 16:52:51 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:52:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:51 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:52:56 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:52:56 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:52:56 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:52:56 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:52:56 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00005
2023-08-12 16:52:56 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:52:56 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00005
2023-08-12 16:52:56 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:52:56 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:52:56 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:52:56 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:52:56 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:52:56 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:52:56 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:52:56 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:52:56 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:52:56 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:52:56 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:56 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:52:56 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:56 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:56 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:52:56 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:52:56 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:52:56 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:52:56 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:52:56 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:52:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:52:56 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:53:23 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:53:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:53:23 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:53:23 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:53:23 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00005
2023-08-12 16:53:23 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:53:23 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:53:23 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:53:23 DEBUG 94.73.41.43 FormCompany::select_departement selected=0, country_codeid=ES
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:53:23 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:53:23 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:53:23 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:53:23 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:53:23 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:53:23 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:53:23 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:53:23 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:53:23 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:53:23 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:53:23 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:53:23 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:53:23 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:53:23 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:53:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:53:23 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:53:27 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:53:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:53:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:53:27 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:53:27 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:53:27 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:53:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:53:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:53:27 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 16:53:27 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:53:27 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:53:28 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:53:28 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:53:28 INFO 94.73.41.43 Societe::create IES PROFESOR JULIO PÉREZ
2023-08-12 16:53:28 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00005 module=mod_codeclient_monkey
2023-08-12 16:53:28 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00005' AND entity IN (1)
2023-08-12 16:53:28 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00005 type=0 result=0
2023-08-12 16:53:28 DEBUG 94.73.41.43 Societe::create
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('IES PROFESOR JULIO PÉREZ', 'IES PROFESOR JULIO PÉREZ', 1, '2023-08-12 18:53:28', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 16:53:28 INFO 94.73.41.43 Societe::Update id=5 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:53:28 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'IES PROFESOR JULIO PÉREZ',name_alias = 'IES PROFESOR JULIO PÉREZ',ref_ext = null,address = 'Avenida de Levante no 141, RIVAS VACIMADRID (MADRID)',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'S-2800176',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 1,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00005', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 5
2023-08-12 16:53:28 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:53:28 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=5
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-12 16:53:28 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:53:28 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:53:28', '2023-08-12 18:53:28', '2023-08-12 18:53:28', null, 40,'AC_COMPANY_CREATE', null, 5, null, 'Tercero IES PROFESOR JULIO PÉREZ creado', null, 1, 1, null, 'Tercero IES PROFESOR JULIO PÉREZ creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='12' WHERE id=12
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(12, 'user', 1, 0, 0, 0)
2023-08-12 16:53:28 INFO 94.73.41.43 Societe::Create success id=5
2023-08-12 16:53:28 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:5 type_categ:customer nb tag add:0
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 5 AND c.entity IN (1)
2023-08-12 16:53:28 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:5 type_categ:supplier nb tag add:0
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 5 AND c.entity IN (1)
2023-08-12 16:53:28 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:53:28 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:53:28 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:53:28 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:53:28 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 5
2023-08-12 16:53:28 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=5 (exemple: cus_.... for stripe)
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 5 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 5 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:53:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/5 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 5 AND entity = 1
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 5
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '5' AND te.entity IN (1)
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '5' AND te.entity IN (1)
2023-08-12 16:53:28 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00005 module=mod_codeclient_monkey
2023-08-12 16:53:28 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00005' AND entity IN (1) AND rowid <> 5
2023-08-12 16:53:28 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00005 type=0 result=0
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 5 AND c.entity IN (1)
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 5 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 5
2023-08-12 16:53:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/5 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:53:28 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/5'
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 5 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:53:28 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 5 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:53:28 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 12
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 12 AND element_type IN ('user', 'socpeople')
2023-08-12 16:53:28 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:53:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:53:28 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:53:30 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:53:30 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:53:30 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:53:30 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:53:30 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00006
2023-08-12 16:53:30 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:53:30 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00006
2023-08-12 16:53:30 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:53:30 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:53:30 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:53:30 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:53:30 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:53:30 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:53:30 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:53:30 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:53:30 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:53:30 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:53:30 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:53:30 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:53:30 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:53:30 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:53:30 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:53:30 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:53:30 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:53:30 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:53:30 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:53:30 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:53:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:53:30 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:54:10 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:54:10 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:54:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:10 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:54:10 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:54:10 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:54:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:54:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:54:10 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/ajax/ziptown.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:54:10 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:54:10 INFO 94.73.41.43 ziptown call with MAIN_USE_ZIPTOWN_DICTIONNARY=
2023-08-12 16:54:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT s.zip, s.town, s.fk_departement as fk_county, s.fk_pays as fk_country, c.code as country_code, c.label as country, d.code_departement as county_code , d.nom as county FROM oe_societe as s LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid WHERE s.zip LIKE '28005%' ORDER BY s.fk_pays, s.zip, s.town LIMIT 100
2023-08-12 16:54:10 INFO 94.73.41.43 --- End access to /admin/htdocs/core/ajax/ziptown.php
2023-08-12 16:54:14 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:54:14 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:54:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:14 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:54:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:54:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:54:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:54:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:54:14 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 16:54:14 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:54:14 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:54:15 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:54:15 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:54:15 INFO 94.73.41.43 Societe::create GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL
2023-08-12 16:54:15 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:54:15 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00006' AND entity IN (1)
2023-08-12 16:54:15 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00006 type=0 result=0
2023-08-12 16:54:15 DEBUG 94.73.41.43 Societe::create
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL', 'GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL', 1, '2023-08-12 18:54:15', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 16:54:15 INFO 94.73.41.43 Societe::Update id=6 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:54:15 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL',name_alias = 'GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL',ref_ext = null,address = 'Calle Naves, no 11 – LOCAL, 28005 MADRID.',zip = '28005',town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'B-8622907',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 2,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00006', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 6
2023-08-12 16:54:15 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:54:15 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=6
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:54:15 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:54:15 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:54:15', '2023-08-12 18:54:15', '2023-08-12 18:54:15', null, 40,'AC_COMPANY_CREATE', null, 6, null, 'Tercero GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL creado', null, 1, 1, null, 'Tercero GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='13' WHERE id=13
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(13, 'user', 1, 0, 0, 0)
2023-08-12 16:54:15 INFO 94.73.41.43 Societe::Create success id=6
2023-08-12 16:54:15 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:6 type_categ:customer nb tag add:0
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:54:15 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:6 type_categ:supplier nb tag add:0
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:54:15 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:54:15 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:54:15 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:54:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:54:15 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 6
2023-08-12 16:54:15 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=6 (exemple: cus_.... for stripe)
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 6 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 6 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:54:15 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/6 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 6 AND entity = 1
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 6
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '6' AND te.entity IN (1)
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '6' AND te.entity IN (1)
2023-08-12 16:54:15 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:54:15 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00006' AND entity IN (1) AND rowid <> 6
2023-08-12 16:54:15 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00006 type=0 result=0
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 6 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 6
2023-08-12 16:54:15 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/6 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:54:15 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/6'
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 6 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:54:15 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 6 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:54:15 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 13
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 13 AND element_type IN ('user', 'socpeople')
2023-08-12 16:54:15 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:54:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:15 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:54:17 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:54:17 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:54:17 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:54:17 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:54:17 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00007
2023-08-12 16:54:17 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:54:17 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00007
2023-08-12 16:54:17 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:54:17 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:54:17 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:54:17 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:54:17 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:54:17 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:54:17 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:54:17 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:54:17 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:54:17 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:54:17 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:54:17 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:54:17 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:54:17 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:54:17 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:54:17 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:54:17 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:54:17 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:54:17 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:54:17 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:54:17 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:54:17 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:54:48 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:54:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:54:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:48 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:54:48 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:54:48 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:54:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:54:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:54:48 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/ajax/ziptown.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-12 16:54:48 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:54:48 INFO 94.73.41.43 ziptown call with MAIN_USE_ZIPTOWN_DICTIONNARY=
2023-08-12 16:54:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT s.zip, s.town, s.fk_departement as fk_county, s.fk_pays as fk_country, c.code as country_code, c.label as country, d.code_departement as county_code , d.nom as county FROM oe_societe as s LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid WHERE s.zip LIKE 'A-79178208%' ORDER BY s.fk_pays, s.zip, s.town LIMIT 100
2023-08-12 16:54:48 INFO 94.73.41.43 --- End access to /admin/htdocs/core/ajax/ziptown.php
2023-08-12 16:54:56 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:54:56 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:54:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:56 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:54:56 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:54:56 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:54:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:54:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:54:56 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 16:54:56 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:54:56 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:54:57 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:54:57 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:54:57 INFO 94.73.41.43 Societe::create HYDRO ALUMINIUM IBERIA, S.A.U.
2023-08-12 16:54:57 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00007 module=mod_codeclient_monkey
2023-08-12 16:54:57 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00007' AND entity IN (1)
2023-08-12 16:54:57 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00007 type=0 result=0
2023-08-12 16:54:57 DEBUG 94.73.41.43 Societe::create
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('HYDRO ALUMINIUM IBERIA, S.A.U.', 'HYDRO ALUMINIUM IBERIA, S.A.U.', 1, '2023-08-12 18:54:57', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 16:54:57 INFO 94.73.41.43 Societe::Update id=7 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:54:57 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'HYDRO ALUMINIUM IBERIA, S.A.U.',name_alias = 'HYDRO ALUMINIUM IBERIA, S.A.U.',ref_ext = null,address = 'C/. PINTURA, No. 3, 19200 AZUQUECA DE HENARES (GUADALAJARA)',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'A-7917820',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 1,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00007', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 7
2023-08-12 16:54:57 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:54:57 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=7
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 7
2023-08-12 16:54:57 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:54:57 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:54:57', '2023-08-12 18:54:57', '2023-08-12 18:54:57', null, 40,'AC_COMPANY_CREATE', null, 7, null, 'Tercero HYDRO ALUMINIUM IBERIA, S.A.U. creado', null, 1, 1, null, 'Tercero HYDRO ALUMINIUM IBERIA, S.A.U. creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='14' WHERE id=14
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(14, 'user', 1, 0, 0, 0)
2023-08-12 16:54:57 INFO 94.73.41.43 Societe::Create success id=7
2023-08-12 16:54:57 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:7 type_categ:customer nb tag add:0
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 7 AND c.entity IN (1)
2023-08-12 16:54:57 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:7 type_categ:supplier nb tag add:0
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 7 AND c.entity IN (1)
2023-08-12 16:54:57 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:54:57 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:54:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:54:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:54:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 7
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 7
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 7
2023-08-12 16:54:57 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=7 (exemple: cus_.... for stripe)
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 7 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 7 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:54:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/7 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 7 AND entity = 1
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 7
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '7' AND te.entity IN (1)
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '7' AND te.entity IN (1)
2023-08-12 16:54:57 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00007 module=mod_codeclient_monkey
2023-08-12 16:54:57 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00007' AND entity IN (1) AND rowid <> 7
2023-08-12 16:54:57 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00007 type=0 result=0
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 7 AND c.entity IN (1)
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 7 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 7
2023-08-12 16:54:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/7 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:54:57 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/7'
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 7 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:54:57 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 7 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:54:57 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 14
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 14 AND element_type IN ('user', 'socpeople')
2023-08-12 16:54:57 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:54:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:57 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:54:59 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:54:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:54:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:54:59 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:54:59 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 16:54:59 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:54:59 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 16:54:59 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:54:59 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:54:59 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:54:59 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:54:59 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:54:59 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:54:59 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:54:59 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:54:59 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:54:59 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:54:59 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:54:59 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:54:59 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:54:59 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:54:59 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:54:59 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:54:59 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:54:59 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:54:59 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:54:59 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:54:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:54:59 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:55:00 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-12 16:55:00 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:00 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:55:00 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:00 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:00 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:00 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:55:00 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:00 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-12 16:55:00 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:55:00 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:55:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:55:00 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-12 16:55:00 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-12 16:55:11 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:11 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 7
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 7
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 7
2023-08-12 16:55:11 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=7 (exemple: cus_.... for stripe)
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 7 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 7 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:55:11 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/7 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 7 AND entity = 1
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 7
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '7' AND te.entity IN (1)
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '7' AND te.entity IN (1)
2023-08-12 16:55:11 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00007 module=mod_codeclient_monkey
2023-08-12 16:55:11 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00007' AND entity IN (1) AND rowid <> 7
2023-08-12 16:55:11 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00007 type=0 result=0
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 7 AND c.entity IN (1)
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 7 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 7
2023-08-12 16:55:11 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/7 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:55:11 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:55:11 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/7'
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 7 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:55:12 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 7 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:55:12 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 14
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 14 AND element_type IN ('user', 'socpeople')
2023-08-12 16:55:12 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:55:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:12 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:55:13 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-12 16:55:13 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:13 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:55:13 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:13 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:13 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:13 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:55:13 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:13 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-12 16:55:13 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:55:13 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:55:13 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:55:13 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-12 16:55:13 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-12 16:55:27 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:27 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:27 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 6
2023-08-12 16:55:27 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=6 (exemple: cus_.... for stripe)
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 6 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 6 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:55:27 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/6 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 6 AND entity = 1
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 6
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '6' AND te.entity IN (1)
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '6' AND te.entity IN (1)
2023-08-12 16:55:27 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:55:27 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00006' AND entity IN (1) AND rowid <> 6
2023-08-12 16:55:27 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00006 type=0 result=0
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 6 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 6
2023-08-12 16:55:27 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/6 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:55:27 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/6'
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 6 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:55:27 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 6 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:55:27 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 13
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 13 AND element_type IN ('user', 'socpeople')
2023-08-12 16:55:27 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:55:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:27 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:55:29 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:29 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:29 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=edit, massaction=
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 6
2023-08-12 16:55:29 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=6 (exemple: cus_.... for stripe)
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 6 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 6 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:55:29 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/6 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 6 AND entity = 1
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 6
2023-08-12 16:55:29 INFO 94.73.41.43 Societe::codeclient_modifiable code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:55:29 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:55:29 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00006' AND entity IN (1) AND rowid <> 6
2023-08-12 16:55:29 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00006 type=0 result=0
2023-08-12 16:55:29 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:55:29 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 16:55:29 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:55:29 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:55:29 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:55:29 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:55:29 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:55:29 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:55:29 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:55:29 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:55:29 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:55:29 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:55:29 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:29 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:55:29 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:29 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:55:29 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:29 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:55:29 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:29 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:55:29 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:55:29 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:55:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 6 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:55:29 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:55:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:35 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=update, massaction=
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:35 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:55:35 INFO 94.73.41.43 Societe::codeclient_modifiable code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:55:35 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:55:35 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00006' AND entity IN (1) AND rowid <> 6
2023-08-12 16:55:35 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00006 type=0 result=0
2023-08-12 16:55:35 INFO 94.73.41.43 Societe::codefournisseur_modifiable code_founisseur= module=mod_codeclient_monkey
2023-08-12 16:55:35 INFO 94.73.41.43 Societe::Update id=6 call_trigger=1 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 16:55:35 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 16:55:35 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:55:35 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00006' AND entity IN (1) AND rowid <> 6
2023-08-12 16:55:35 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00006 type=0 result=0
2023-08-12 16:55:35 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL',name_alias = 'GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL',ref_ext = null,address = 'Calle Naves, no 11 – LOCAL, 28005 MADRID.',zip = '28005',town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'B-8622907',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_stcomm=0,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 1,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_client = 'CU2308-00006', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 6
2023-08-12 16:55:35 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=6
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:35 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 16:55:35 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 18:55:35', '2023-08-12 18:55:35', '2023-08-12 18:55:35', null, 40,'AC_COMPANY_MODIFY', null, 6, null, 'Tercero GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL modificado', null, 1, 1, null, 'Tercero GRUPO ADMINISTRCIÓN DIRECTION & INNOVATION, SL modificado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='15' WHERE id=15
2023-08-12 16:55:35 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(15, 'user', 1, 0, 0, 0)
2023-08-12 16:55:36 INFO 94.73.41.43 Trigger 'Stripe' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php. id=6
2023-08-12 16:55:36 DEBUG 94.73.41.43 Stripe::getStripeAccount
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT tokenstring FROM oe_oauth_token WHERE service = 'StripeTest' AND entity = 1 AND fk_soc IS NULL AND fk_user IS NULL AND fk_adherent IS NULL
2023-08-12 16:55:36 INFO 94.73.41.43 No dedicated Stripe Connect account available for entity 1
2023-08-12 16:55:36 DEBUG 94.73.41.43 Stripe::customerStripe search stripe customer id for thirdparty id=6
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 6 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND (sa.site_account IS NULL OR sa.site_account = '' OR sa.site_account = '') AND sa.key_account IS NOT NULL AND sa.key_account <> ''
2023-08-12 16:55:36 INFO 94.73.41.43 Societe::Update success
2023-08-12 16:55:36 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 6 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:55:36 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:6 type_categ:customer nb tag add:0
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:55:36 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:6 type_categ:supplier nb tag add:0
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:55:36 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:55:36 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:36 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:36 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 6
2023-08-12 16:55:36 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=6 (exemple: cus_.... for stripe)
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 6 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 6 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 16:55:36 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/6 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 6 AND entity = 1
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 6
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '6' AND te.entity IN (1)
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '6' AND te.entity IN (1)
2023-08-12 16:55:36 INFO 94.73.41.43 Societe::check_codeclient code_client=CU2308-00006 module=mod_codeclient_monkey
2023-08-12 16:55:36 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00006' AND entity IN (1) AND rowid <> 6
2023-08-12 16:55:36 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00006 type=0 result=0
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 6 AND c.entity IN (1)
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 6 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 6
2023-08-12 16:55:36 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/6 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 16:55:36 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/6'
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 6 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 16:55:36 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 6 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 16:55:36 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 15
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 15 AND element_type IN ('user', 'socpeople')
2023-08-12 16:55:36 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 13
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 13 AND element_type IN ('user', 'socpeople')
2023-08-12 16:55:36 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 16:55:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:36 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 16:55:38 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:38 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-12 16:55:38 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:38 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:55:38 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:38 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:38 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:38 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:55:38 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:38 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-12 16:55:38 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:55:38 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:55:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:55:38 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-12 16:55:38 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-12 16:55:43 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 16:55:43 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 16:55:43 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 16:55:43 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:55:43 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 16:55:43 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 16:55:43 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 16:55:43 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:55:43 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:55:43 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 16:55:43 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00001
2023-08-12 16:55:43 DEBUG 94.73.41.43 Form::select_country
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 16:55:43 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 16:55:43 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 16:55:43 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 16:55:43 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 16:55:43 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 16:55:43 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:43 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 16:55:43 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:43 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:43 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 16:55:43 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 16:55:43 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 16:55:43 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 16:55:43 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 16:55:43 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 16:55:43 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 16:55:43 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:13:54 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:13:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:13:54 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:13:54 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 17:13:54 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 17:13:54 INFO 94.73.41.43 Societe::create VENSUR MEDIADORES DE SEGUROS S.L.
2023-08-12 17:13:54 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00001 module=mod_codeclient_monkey
2023-08-12 17:13:54 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00001' AND entity IN (1)
2023-08-12 17:13:54 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00001 type=1 result=0
2023-08-12 17:13:54 DEBUG 94.73.41.43 Societe::create
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('VENSUR MEDIADORES DE SEGUROS S.L.', 'VENSUR MEDIADORES DE SEGUROS S.L.', 1, '2023-08-12 19:13:54', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 17:13:54 INFO 94.73.41.43 Societe::Update id=8 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 17:13:54 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'VENSUR MEDIADORES DE SEGUROS S.L.',name_alias = 'VENSUR MEDIADORES DE SEGUROS S.L.',ref_ext = null,address = 'CL Zazuar 000009 Local 2\r\n28031 MADRID',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'A48464606',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 0,fournisseur = 1,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta_fournisseur = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_fournisseur = 'SU2308-00001', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 8
2023-08-12 17:13:54 INFO 94.73.41.43 Societe::Update success
2023-08-12 17:13:54 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=8
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 8
2023-08-12 17:13:54 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 17:13:54 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 19:13:54', '2023-08-12 19:13:54', '2023-08-12 19:13:54', null, 40,'AC_COMPANY_CREATE', null, 8, null, 'Tercero VENSUR MEDIADORES DE SEGUROS S.L. creado', null, 1, 1, null, 'Tercero VENSUR MEDIADORES DE SEGUROS S.L. creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='16' WHERE id=16
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(16, 'user', 1, 0, 0, 0)
2023-08-12 17:13:54 INFO 94.73.41.43 Societe::Create success id=8
2023-08-12 17:13:54 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:8 type_categ:customer nb tag add:0
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 8 AND c.entity IN (1)
2023-08-12 17:13:54 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:8 type_categ:supplier nb tag add:0
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 8 AND c.entity IN (1)
2023-08-12 17:13:54 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 17:13:54 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:13:54 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:13:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:13:54 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 8
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 8
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 8
2023-08-12 17:13:54 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=8 (exemple: cus_.... for stripe)
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 8 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 8 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 17:13:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/8 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 8 AND entity = 1
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 8
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '8' AND te.entity IN (1)
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '8' AND te.entity IN (1)
2023-08-12 17:13:54 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00001 module=mod_codeclient_monkey
2023-08-12 17:13:54 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00001' AND entity IN (1) AND rowid <> 8
2023-08-12 17:13:54 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00001 type=1 result=0
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 8 AND c.entity IN (1)
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 8 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 8
2023-08-12 17:13:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/8 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 17:13:54 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/8'
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 8 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 17:13:54 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 8 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 17:13:54 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 16
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 16 AND element_type IN ('user', 'socpeople')
2023-08-12 17:13:54 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 17:13:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:13:54 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:13:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:13:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:13:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 8
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 8
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 8
2023-08-12 17:13:57 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=8 (exemple: cus_.... for stripe)
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 8 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 8 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 17:13:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/8 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 8 AND entity = 1
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 8
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '8' AND te.entity IN (1)
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '8' AND te.entity IN (1)
2023-08-12 17:13:57 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00001 module=mod_codeclient_monkey
2023-08-12 17:13:57 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00001' AND entity IN (1) AND rowid <> 8
2023-08-12 17:13:57 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00001 type=1 result=0
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 8 AND c.entity IN (1)
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 8 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 8
2023-08-12 17:13:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/8 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 17:13:57 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/8'
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 8 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 17:13:57 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 8 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 17:13:57 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 16
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 16 AND element_type IN ('user', 'socpeople')
2023-08-12 17:13:57 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 17:13:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:13:57 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:16:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:16:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:16:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 17:16:12 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 17:16:12 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 17:16:12 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 17:16:12 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 17:16:12 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 17:16:12 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00002
2023-08-12 17:16:12 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 17:16:12 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00002
2023-08-12 17:16:12 DEBUG 94.73.41.43 Form::select_country
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 17:16:12 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 17:16:12 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 17:16:12 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:16:12 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 17:16:12 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 17:16:12 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:16:12 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 17:16:12 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:16:12 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:16:12 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:16:12 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 17:16:12 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:16:12 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:16:12 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 17:16:12 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 17:16:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 17:16:12 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:17:42 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:17:42 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:17:42 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=add, massaction=
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:17:42 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 17:17:42 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 17:17:42 INFO 94.73.41.43 Societe::create CENTROS COMERC.CARREFOUR S.A.
2023-08-12 17:17:42 DEBUG 94.73.41.43 Societe::create
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=INSERT INTO oe_societe (nom, name_alias, entity, datec, fk_user_creat, fk_typent, canvas, status, ref_ext, fk_stcomm, fk_incoterms, location_incoterms, import_key, fk_multicurrency, multicurrency_code, accountancy_code_buy, accountancy_code_sell) VALUES ('CENTROS COMERC.CARREFOUR S.A.', '', 1, '2023-08-12 19:17:42', 1, -1, null, 1, null, 0, 0, '', null, 0, '', '', '')
2023-08-12 17:17:42 INFO 94.73.41.43 Societe::Update id=9 call_trigger=0 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 17:17:42 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'CENTROS COMERC.CARREFOUR S.A.',name_alias = '',ref_ext = null,address = 'C/ CAMPEZO 16, MADRID',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'A28425270',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 0,fournisseur = 0,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '',webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 9
2023-08-12 17:17:42 INFO 94.73.41.43 Societe::Update success
2023-08-12 17:17:42 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=9
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:42 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 17:17:42 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 19:17:42', '2023-08-12 19:17:42', '2023-08-12 19:17:42', null, 40,'AC_COMPANY_CREATE', null, 9, null, 'Tercero CENTROS COMERC.CARREFOUR S.A. creado', null, 1, 1, null, 'Tercero CENTROS COMERC.CARREFOUR S.A. creado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='17' WHERE id=17
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(17, 'user', 1, 0, 0, 0)
2023-08-12 17:17:42 INFO 94.73.41.43 Societe::Create success id=9
2023-08-12 17:17:42 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:9 type_categ:customer nb tag add:0
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-12 17:17:42 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:9 type_categ:supplier nb tag add:0
2023-08-12 17:17:42 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-12 17:17:42 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 17:17:42 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:17:43 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:17:43 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:17:43 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-12 17:17:43 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 17:17:43 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '9' AND te.entity IN (1)
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '9' AND te.entity IN (1)
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 9
2023-08-12 17:17:43 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 17:17:43 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/9'
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 9 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 17:17:43 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 9 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 17:17:43 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 17
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 17 AND element_type IN ('user', 'socpeople')
2023-08-12 17:17:43 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 17:17:43 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:43 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:17:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:17:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:17:45 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 17:17:45 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 17:17:45 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 17:17:45 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 17:17:45 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 17:17:45 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 17:17:45 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00002
2023-08-12 17:17:45 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 17:17:45 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00002
2023-08-12 17:17:45 DEBUG 94.73.41.43 Form::select_country
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 17:17:45 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 17:17:45 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 17:17:45 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:17:45 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 17:17:45 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 17:17:45 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:17:45 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 17:17:45 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:17:45 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:17:45 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:17:45 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 17:17:45 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:17:45 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:17:45 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 17:17:45 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 17:17:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 17:17:45 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:17:46 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:17:46 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:17:46 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-12 17:17:46 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:17:46 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 17:17:46 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:17:46 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:17:46 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:17:46 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 17:17:46 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:17:46 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-12 17:17:46 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:17:46 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:17:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:17:46 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-12 17:17:46 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-12 17:17:51 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:17:51 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:17:51 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-12 17:17:51 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 17:17:51 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '9' AND te.entity IN (1)
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '9' AND te.entity IN (1)
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 9
2023-08-12 17:17:51 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 17:17:51 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/9'
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 9 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 17:17:51 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 9 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 17:17:51 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 17
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 17 AND element_type IN ('user', 'socpeople')
2023-08-12 17:17:51 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 17:17:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:51 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:17:52 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:17:52 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:17:52 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=edit, massaction=
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-12 17:17:52 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 17:17:52 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-12 17:17:52 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 17:17:52 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 17:17:52 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-12 17:17:52 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-12 17:17:52 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 17:17:52 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00002
2023-08-12 17:17:52 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-12 17:17:52 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00002
2023-08-12 17:17:52 DEBUG 94.73.41.43 Form::select_country
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-12 17:17:52 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-12 17:17:52 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-12 17:17:52 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:17:52 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-12 17:17:52 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-12 17:17:52 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:17:52 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 17:17:52 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:17:52 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-12 17:17:52 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:17:52 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 17:17:52 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:17:52 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-12 17:17:52 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-12 17:17:52 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-12 17:17:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 17:17:52 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:17:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:17:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:17:57 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=update, massaction=
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:57 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-12 17:17:57 INFO 94.73.41.43 Societe::codeclient_modifiable code_client= module=mod_codeclient_monkey
2023-08-12 17:17:57 INFO 94.73.41.43 Societe::codefournisseur_modifiable code_founisseur= module=mod_codeclient_monkey
2023-08-12 17:17:57 INFO 94.73.41.43 Societe::Update id=9 call_trigger=1 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-12 17:17:57 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-12 17:17:57 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-12 17:17:57 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-12 17:17:57 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-12 17:17:57 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'CENTROS COMERC.CARREFOUR S.A.',name_alias = '',ref_ext = null,address = 'C/ CAMPEZO 16, MADRID',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'A28425270',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_stcomm=0,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 0,fournisseur = 1,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta_fournisseur = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_fournisseur = 'SU2308-00002', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 9
2023-08-12 17:17:57 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=9
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:57 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-12 17:17:57 DEBUG 94.73.41.43 ActionComm::add
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-12 19:17:57', '2023-08-12 19:17:57', '2023-08-12 19:17:57', null, 40,'AC_COMPANY_MODIFY', null, 9, null, 'Tercero CENTROS COMERC.CARREFOUR S.A. modificado', null, 1, 1, null, 'Tercero CENTROS COMERC.CARREFOUR S.A. modificado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='18' WHERE id=18
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(18, 'user', 1, 0, 0, 0)
2023-08-12 17:17:57 INFO 94.73.41.43 Trigger 'Stripe' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php. id=9
2023-08-12 17:17:57 DEBUG 94.73.41.43 Stripe::getStripeAccount
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT tokenstring FROM oe_oauth_token WHERE service = 'StripeTest' AND entity = 1 AND fk_soc IS NULL AND fk_user IS NULL AND fk_adherent IS NULL
2023-08-12 17:17:57 INFO 94.73.41.43 No dedicated Stripe Connect account available for entity 1
2023-08-12 17:17:57 INFO 94.73.41.43 Societe::Update success
2023-08-12 17:17:57 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 17:17:57 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:9 type_categ:customer nb tag add:0
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-12 17:17:57 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:9 type_categ:supplier nb tag add:0
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-12 17:17:57 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:17:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:17:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:17:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:17:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-12 17:17:58 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-12 17:17:58 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '9' AND te.entity IN (1)
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '9' AND te.entity IN (1)
2023-08-12 17:17:58 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-12 17:17:58 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-12 17:17:58 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 9
2023-08-12 17:17:58 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-12 17:17:58 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/9'
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 9 AND s.entity IN (1) ORDER BY s.nom
2023-08-12 17:17:58 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 9 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-12 17:17:58 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 18
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 18 AND element_type IN ('user', 'socpeople')
2023-08-12 17:17:58 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 17
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 17 AND element_type IN ('user', 'socpeople')
2023-08-12 17:17:58 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-12 17:17:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:17:58 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-12 17:18:00 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:18:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:18:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-12 17:18:00 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:18:00 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 17:18:00 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:18:00 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:18:00 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:18:00 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 17:18:00 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:18:00 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-12 17:18:00 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:18:00 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:18:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:18:00 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-12 17:18:00 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-12 17:19:02 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-12 17:19:02 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-12 17:19:02 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-12 17:19:02 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:19:02 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-12 17:19:02 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:19:02 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:19:02 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-12 17:19:02 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-12 17:19:02 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-12 17:19:02 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-12 17:19:02 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:19:02 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-12 17:19:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-12 17:19:02 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-12 17:19:02 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-14 11:54:09 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-08-14 11:54:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-08-14 11:54:09 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 11:54:09 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-14 11:54:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 11:54:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:09 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 11:54:09 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-08-14 11:54:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 11:54:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:09 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 11:54:09 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 11:54:09 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-14 11:54:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 11:54:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:09 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-08-14 11:54:09 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-14 11:54:09 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-14 11:54:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:09 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-08-14 11:54:10 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-08-14 11:54:10 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-08-14 11:54:10 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-08-14 11:54:11 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 11:54:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 11:54:11 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=4b40eec05a195863499d1e8ab6ec4e26
2023-08-14 11:54:11 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-14 11:54:11 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-14 13:54:11', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-14 13:54:11', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-14 11:54:11 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 Events::create
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36', '2023-08-14 13:54:11', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1694x674', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-08-14 11:54:11 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 11:54:11 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 11:54:11 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_fournisseurs::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_shipments::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_ficheinter::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_last_ticket::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_contracts::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-08-14 13:54:11' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_services_expired::showBox
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_factures_fourn::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_supplier_orders::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_factures_imp::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_factures::showBox
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-08-14 11:54:11 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-08-14 11:54:11 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-08-14 11:54:11 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-14 11:54:11 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-14 11:54:11 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '8' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '8' ORDER BY daya ASC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_birthdays::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-08-14 11:54:11 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 box_actions::loadBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_actions::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 box_comptes::loadBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount FROM oe_bank WHERE fk_account = 1
2023-08-14 11:54:11 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-14 11:54:11 INFO 94.73.41.43 box_comptes::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_produits::showBox
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-08-14 11:54:11 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 CommandeStats::_getAllByProduct
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-08-14 11:54:11 INFO 94.73.41.43 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:11 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-14 11:54:11 INFO 94.73.41.43 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692014051 - 86400) so we can't use it.
2023-08-14 11:54:11 DEBUG 94.73.41.43 FactureStats::_getAllByProduct
2023-08-14 11:54:11 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-08-14 11:54:12 INFO 94.73.41.43 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-14 11:54:12 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-14 11:54:12 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-08-14 11:54:12 INFO 94.73.41.43 box_services_contracts::showBox
2023-08-14 11:54:12 INFO 94.73.41.43 box_lastlogin::showBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-08-14 11:54:12 INFO 94.73.41.43 box_propales::showBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 box_clients::loadBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 11:54:12 INFO 94.73.41.43 box_clients::showBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 box_prospect::loadBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 11:54:12 INFO 94.73.41.43 box_prospect::showBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-08-14 11:54:12 INFO 94.73.41.43 box_contacts::showBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 11:54:12 INFO 94.73.41.43 box_commandes::showBox
2023-08-14 11:54:12 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.rappro=0 AND b.fk_account = ba.rowid AND ba.entity IN (1) AND (ba.rappro = 1 AND ba.courant != 2) AND clos = 0
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-08-14 11:54:12 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-14 11:54:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 11:54:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 11:54:12 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-14 11:54:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 11:54:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 11:54:12 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-08-14 11:54:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 11:54:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:12 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-08-14 11:54:12 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-14 11:54:12 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-14 11:54:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 11:54:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 11:54:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 11:54:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:12 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-08-14 11:54:12 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-08-14 11:54:12 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-14 11:54:22 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 11:54:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 11:54:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 11:54:23 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-08-14 11:54:23 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-08-14 11:54:23 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-08-14 11:54:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 11:54:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 11:54:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 11:54:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 11:54:23 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-14 12:22:29 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:22:29 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:22:29 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-14 12:22:29 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:22:29 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-14 12:22:29 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:22:29 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:22:29 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:22:29 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-14 12:22:29 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:22:29 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-14 12:22:29 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 12:22:29 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 12:22:29 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 12:22:29 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-14 12:22:29 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-14 12:22:33 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:22:33 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:22:33 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-14 12:22:33 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-14 12:22:33 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '9' AND te.entity IN (1)
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '9' AND te.entity IN (1)
2023-08-14 12:22:33 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:22:33 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-14 12:22:33 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 9
2023-08-14 12:22:33 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-14 12:22:33 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/9'
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 9 AND s.entity IN (1) ORDER BY s.nom
2023-08-14 12:22:33 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 9 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-14 12:22:33 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 18
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 18 AND element_type IN ('user', 'socpeople')
2023-08-14 12:22:33 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 17
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 17 AND element_type IN ('user', 'socpeople')
2023-08-14 12:22:33 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-14 12:22:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:22:33 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 12:24:15 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:24:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:24:15 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=edit, massaction=
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-14 12:24:15 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-14 12:24:15 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-14 12:24:15 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 12:24:15 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 12:24:15 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 12:24:15 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 12:24:15 INFO 94.73.41.43 Societe::codefournisseur_modifiable code_founisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:15 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:15 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-14 12:24:15 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-14 12:24:15 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-14 12:24:15 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-14 12:24:15 DEBUG 94.73.41.43 Form::select_country
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-14 12:24:15 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-14 12:24:15 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-14 12:24:15 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 12:24:15 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-14 12:24:15 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-14 12:24:15 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:24:15 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-14 12:24:15 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:24:15 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:24:15 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:24:15 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-14 12:24:15 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:24:15 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:24:15 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-14 12:24:15 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-14 12:24:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-14 12:24:15 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 12:24:21 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:24:21 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:24:21 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-14 12:24:21 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:24:21 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-14 12:24:21 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:24:21 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:24:21 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:24:21 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-14 12:24:21 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:24:21 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-14 12:24:21 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 12:24:21 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 12:24:21 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 12:24:21 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-14 12:24:21 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-14 12:24:31 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:24:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:24:31 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-14 12:24:31 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-14 12:24:31 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '9' AND te.entity IN (1)
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '9' AND te.entity IN (1)
2023-08-14 12:24:31 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:31 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-14 12:24:31 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 9
2023-08-14 12:24:31 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-14 12:24:31 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/9'
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 9 AND s.entity IN (1) ORDER BY s.nom
2023-08-14 12:24:31 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 9 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-14 12:24:31 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 18
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 18 AND element_type IN ('user', 'socpeople')
2023-08-14 12:24:31 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 17
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 17 AND element_type IN ('user', 'socpeople')
2023-08-14 12:24:31 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-14 12:24:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:31 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 12:24:34 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:24:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:24:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=edit, massaction=
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-14 12:24:34 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-14 12:24:34 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-14 12:24:34 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 12:24:34 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 12:24:34 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 12:24:34 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 12:24:34 INFO 94.73.41.43 Societe::codefournisseur_modifiable code_founisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:34 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:34 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-14 12:24:34 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-14 12:24:34 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-14 12:24:34 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-14 12:24:34 DEBUG 94.73.41.43 Form::select_country
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-14 12:24:34 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-14 12:24:34 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-14 12:24:34 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 12:24:34 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-14 12:24:34 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-14 12:24:34 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:24:34 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-14 12:24:34 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:24:34 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:24:34 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:24:34 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-14 12:24:34 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:24:34 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:24:34 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-14 12:24:34 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-14 12:24:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-14 12:24:34 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 12:24:48 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:24:48 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:24:48 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=update, massaction=
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:24:48 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:49 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key -1 not found into cache)
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_typent WHERE id = '-1'
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-14 12:24:49 INFO 94.73.41.43 Societe::codeclient_modifiable code_client= module=mod_codeclient_monkey
2023-08-14 12:24:49 INFO 94.73.41.43 Societe::codefournisseur_modifiable code_founisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:49 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:49 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-14 12:24:49 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-14 12:24:49 INFO 94.73.41.43 Societe::Update id=9 call_trigger=1 allowmodcodeclient=1 allowmodcodefournisseur=1
2023-08-14 12:24:49 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-14 12:24:49 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:49 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-14 12:24:49 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-14 12:24:49 INFO 94.73.41.43 Societe::update verify ok or not done
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET entity = 1,nom = 'CENTROS COMERC.CARREFOUR S.A.',name_alias = 'CENTROS COMERC.CARREFOUR S.A.',ref_ext = null,address = 'C/ CAMPEZO 16, MADRID',zip = null,town = null,fk_departement = null,fk_pays = 4,phone = null,fax = null,email = null,socialnetworks = '[]',url = null,parent = null,note_private = null,note_public = null,siren = 'A28425270',siret = '',ape = '',idprof4 = '',idprof5 = '',idprof6 = '',tva_assuj = '1',tva_intra = '',status = 1,localtax1_assuj = null,localtax2_assuj = null,localtax1_value =0.000,localtax2_value =0.000,capital = null,prefix_comm = null,fk_effectif = null,fk_stcomm=0,fk_typent = 0,fk_forme_juridique = null,mode_reglement = null,cond_reglement = null,deposit_percent = null,transport_mode = null,mode_reglement_supplier = null,cond_reglement_supplier = null,transport_mode_supplier = null,fk_shipping_method = null,client = 0,fournisseur = 1,barcode = null,default_lang = null,logo = null,logo_squarred = null,outstanding_limit= null,order_min_amount= null,supplier_order_min_amount= null,fk_prospectlevel='', accountancy_code_buy = '', accountancy_code_sell= '', code_compta_fournisseur = null,webservices_url = null,webservices_key = null, fk_incoterms = 0, location_incoterms = null, code_fournisseur = 'SU2308-00002', fk_user_modif = 1, fk_multicurrency = 0, multicurrency_code = '', model_pdf = '' WHERE rowid = 9
2023-08-14 12:24:49 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=9
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:49 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-14 12:24:49 DEBUG 94.73.41.43 ActionComm::add
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-14 14:24:49', '2023-08-14 14:24:49', '2023-08-14 14:24:49', null, 40,'AC_COMPANY_MODIFY', null, 9, null, 'Tercero CENTROS COMERC.CARREFOUR S.A. modificado', null, 1, 1, null, 'Tercero CENTROS COMERC.CARREFOUR S.A. modificado', '-1', '0', '0', '', '0', null, null, 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='19' WHERE id=19
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(19, 'user', 1, 0, 0, 0)
2023-08-14 12:24:49 INFO 94.73.41.43 Trigger 'Stripe' for action 'COMPANY_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_80_modStripe_Stripe.class.php. id=9
2023-08-14 12:24:49 DEBUG 94.73.41.43 Stripe::getStripeAccount
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT tokenstring FROM oe_oauth_token WHERE service = 'StripeTest' AND entity = 1 AND fk_soc IS NULL AND fk_user IS NULL AND fk_adherent IS NULL
2023-08-14 12:24:49 INFO 94.73.41.43 No dedicated Stripe Connect account available for entity 1
2023-08-14 12:24:49 INFO 94.73.41.43 Societe::Update success
2023-08-14 12:24:49 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-14 12:24:49 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:9 type_categ:customer nb tag add:0
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:24:49 DEBUG 94.73.41.43 Societe::setCategoriesCommon Oject Id:9 type_categ:supplier nb tag add:0
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:24:49 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 12:24:49 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:24:49 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:24:49 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=, massaction=
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 9
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 9
2023-08-14 12:24:49 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=9 (exemple: cus_.... for stripe)
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 9 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 9 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-14 12:24:49 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 9 AND entity = 1
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 9
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '9' AND te.entity IN (1)
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '9' AND te.entity IN (1)
2023-08-14 12:24:49 INFO 94.73.41.43 Societe::check_codefournisseur code_fournisseur=SU2308-00002 module=mod_codeclient_monkey
2023-08-14 12:24:49 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_fournisseur = 'SU2308-00002' AND entity IN (1) AND rowid <> 9
2023-08-14 12:24:49 INFO 94.73.41.43 mod_codeclient_monkey::verif code=SU2308-00002 type=1 result=0
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_fournisseur as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 9 AND c.entity IN (1)
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 9 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_socpeople WHERE fk_soc = 9
2023-08-14 12:24:49 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/9 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-14 12:24:49 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'company' AND entity IN (0,1) ORDER BY description DESC
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'societe/9'
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur, s.nom as name, s.name_alias, s.email, s.address, s.zip, s.town, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, s.canvas FROM oe_societe as s WHERE s.parent = 9 AND s.entity IN (1) ORDER BY s.nom
2023-08-14 12:24:49 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_soc = 9 ORDER BY a.datep DESC, a.id DESC LIMIT 11
2023-08-14 12:24:49 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 19
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 19 AND element_type IN ('user', 'socpeople')
2023-08-14 12:24:49 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 18
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 18 AND element_type IN ('user', 'socpeople')
2023-08-14 12:24:49 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 17
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 17 AND element_type IN ('user', 'socpeople')
2023-08-14 12:24:49 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-14 12:24:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:49 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 12:24:52 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 12:24:52 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 12:24:52 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/list.php - action=, massaction=
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, picto FROM oe_c_stcomm WHERE active = 1
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT code, label, sortorder FROM oe_c_prospectlevel WHERE active > 0 ORDER BY sortorder
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1))
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.barcode, s.address, s.town, s.zip, s.datec, s.code_client, s.code_fournisseur, s.logo, s.entity, st.libelle as stcomm, st.picto as stcomm_picto, s.fk_stcomm as stcomm_id, s.fk_prospectlevel, s.prefix_comm, s.client, s.fournisseur, s.canvas, s.status as status, s.email, s.phone, s.fax, s.url, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4 as idprof4, s.idprof5 as idprof5, s.idprof6 as idprof6, s.tva_intra, s.fk_pays, s.tms as date_update, s.datec as date_creation, s.import_key, s.code_compta, s.code_compta_fournisseur, s.parent as fk_parent,s.price_level, s2.nom as name2, typent.code as typent_code, staff.code as staff_code, country.code as country_code, country.label as country_label, state.code_departement as state_code, state.nom as state_name, region.code_region as region_code, region.nom as region_name FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s.parent = s2.rowid LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_effectif as staff on (staff.id = s.fk_effectif) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement) LEFT JOIN oe_c_regions as region on (region.code_region = state.fk_region) LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id WHERE s.entity IN (1) AND (s.status IN (1)) ORDER BY s.nom ASC LIMIT 21
2023-08-14 12:24:52 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:24:52 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-14 12:24:52 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:24:52 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:24:52 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 12:24:52 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-14 12:24:52 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 12:24:52 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-14 12:24:52 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 12:24:52 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 12:24:52 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 12:24:52 INFO 94.73.41.43 Save lastsearch_values_tmp_societe/list.php={"search_level":[]} (systematic recording of last search criterias)
2023-08-14 12:24:52 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/list.php
2023-08-14 15:44:12 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/societe/card.php
2023-08-14 15:44:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create - actionlogin= - showing the login form and exit
2023-08-14 15:44:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:12 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 15:44:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 15:44:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 15:44:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:44:12 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-14 15:44:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 15:44:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 15:44:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:13 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-08-14 15:44:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 15:44:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 15:44:13 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-08-14 15:44:13 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-14 15:44:13 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-14 15:44:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 15:44:13 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-08-14 15:44:33 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-08-14 15:44:33 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-08-14 15:44:33 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-08-14 15:44:33 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-08-14 15:44:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 15:44:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 15:44:33 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 15:44:33 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:33 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 15:44:33 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=4b40eec05a195863499d1e8ab6ec4e26
2023-08-14 15:44:33 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-14 15:44:33 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-14 17:44:33', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-14 15:44:33 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-14 17:44:33', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-14 15:44:33 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-08-14 15:44:33 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:33 DEBUG 94.73.41.43 Events::create
2023-08-14 15:44:33 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36', '2023-08-14 17:44:33', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1691x686', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-08-14 15:44:34 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 15:44:34 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=, massaction=
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-14 15:44:34 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 15:44:34 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 15:44:34 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 15:44:34 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 15:44:34 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-14 15:44:34 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-14 15:44:34 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-14 15:44:34 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-14 15:44:34 DEBUG 94.73.41.43 Form::select_country
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-14 15:44:34 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-14 15:44:34 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-14 15:44:34 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 15:44:34 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-14 15:44:34 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-14 15:44:34 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 15:44:34 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-14 15:44:34 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 15:44:34 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 15:44:34 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 15:44:34 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-14 15:44:34 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 15:44:34 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 15:44:34 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-14 15:44:34 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-14 15:44:34 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 15:44:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 15:44:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 15:44:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:44:34 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-14 15:44:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 15:44:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:34 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-08-14 15:44:34 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 15:44:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 15:44:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 15:44:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 15:44:34 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-08-14 15:44:34 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-14 15:44:34 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-14 15:44:37 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 15:44:37 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 15:44:37 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:44:37 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-08-14 15:44:37 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-08-14 15:44:37 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-08-14 15:44:37 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 15:44:37 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:37 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:44:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 15:44:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 15:44:38 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 15:44:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 15:44:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 15:44:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 15:44:38 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:44:38 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-14 15:44:41 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 15:44:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 15:44:41 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/product/index.php - action=, massaction=
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as total, p.fk_product_type, p.tosell, p.tobuy FROM oe_product as p WHERE p.entity IN (1) GROUP BY p.fk_product_type, p.tosell, p.tobuy
2023-08-14 15:44:41 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-14 15:44:41 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.fk_product_type, p.tosell, p.tobuy, p.tobatch, p.fk_price_expression, p.entity, p.tms as datem FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.tms DESC LIMIT 15
2023-08-14 15:44:41 INFO 94.73.41.43 --- End access to /admin/htdocs/product/index.php
2023-08-14 15:58:56 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 15:58:56 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 15:58:56 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/product/card.php - action=create, massaction=
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'product' ORDER BY pos
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle FROM oe_c_barcode_type WHERE coder <> '0' AND entity = 1 ORDER BY code
2023-08-14 15:58:56 INFO 94.73.41.43 DolEditor::DolEditor htmlname=desc width= height=160 toolbarname=dolibarr_details
2023-08-14 15:58:56 DEBUG 94.73.41.43 FormProduct::selectWarehouses , fk_default_warehouse, warehouseopen, 1, 0, 0, , 0, 0, minwidth300 widthcentpercentminusxx maxwidth500
2023-08-14 15:58:56 DEBUG 94.73.41.43 FormProduct::loadWarehouses
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT e.rowid, e.ref as label, e.description, e.fk_parent, sum(ps.reel) as stock FROM oe_entrepot as e LEFT JOIN oe_product_stock as ps on ps.fk_entrepot = e.rowid WHERE e.entity IN (1) AND e.statut = 1 GROUP BY e.rowid, e.ref, e.description, e.fk_parent ORDER BY e.ref
2023-08-14 15:58:56 DEBUG 94.73.41.43 CProductNature::fetchAll
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.code, t.label, t.active FROM oe_c_product_nature as t WHERE (t.active = 1)
2023-08-14 15:58:56 DEBUG 94.73.41.43 CUnits::fetchAll
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'weight')
2023-08-14 15:58:56 DEBUG 94.73.41.43 CUnits::fetchAll
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'size')
2023-08-14 15:58:56 DEBUG 94.73.41.43 CUnits::fetchAll
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'surface')
2023-08-14 15:58:56 DEBUG 94.73.41.43 CUnits::fetchAll
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.code, t.sortorder, t.label, t.short_label, t.unit_type, t.scale, t.active FROM oe_c_units as t WHERE (t.active = 1 AND t.unit_type = 'volume')
2023-08-14 15:58:56 DEBUG 94.73.41.43 Form::select_country
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-14 15:58:56 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 ORDER BY c.code, d.code_departement
2023-08-14 15:58:56 DEBUG 94.73.41.43 FormCompany::select_departement num=1737
2023-08-14 15:58:56 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=140 toolbarname=dolibarr_details
2023-08-14 15:58:56 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 15:58:56 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-14 15:58:56 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 15:58:56 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-14 15:58:56 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-14 15:58:56 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-14 15:58:56 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-14 15:58:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-14 15:58:56 INFO 94.73.41.43 --- End access to /admin/htdocs/product/card.php
2023-08-14 15:58:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 15:58:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 15:58:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 15:58:57 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-08-14 15:58:57 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-14 15:58:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-08-14 15:58:57 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-08-14 17:09:44 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/societe/card.php
2023-08-14 17:09:44 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create - actionlogin= - showing the login form and exit
2023-08-14 17:09:44 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:09:44 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 17:09:44 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:09:44 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-14 17:09:44 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 17:09:44 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-08-14 17:09:44 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-14 17:09:44 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-14 17:09:45 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-08-14 17:09:45 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-08-14 17:09:45 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-08-14 17:09:45 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-08-14 17:09:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:09:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:09:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:09:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:09:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:09:45 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=4b40eec05a195863499d1e8ab6ec4e26
2023-08-14 17:09:45 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-14 17:09:45 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-14 19:09:45', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-14 17:09:45 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-14 19:09:45', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-14 17:09:45 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-08-14 17:09:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:09:45 DEBUG 94.73.41.43 Events::create
2023-08-14 17:09:45 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36', '2023-08-14 19:09:45', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1714x768', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-08-14 17:09:46 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:09:46 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=, massaction=
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-14 17:09:46 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 17:09:46 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 17:09:46 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 17:09:46 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 17:09:46 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-14 17:09:46 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-14 17:09:46 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-14 17:09:46 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-14 17:09:46 DEBUG 94.73.41.43 Form::select_country
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 17:09:46 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-14 17:09:46 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-14 17:09:46 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 17:09:46 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:09:46 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:09:46 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/societe/card.php - action=, massaction=
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-14 17:09:46 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 17:09:46 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 17:09:46 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-14 17:09:46 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-14 17:09:46 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-14 17:09:46 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-14 17:09:46 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-14 17:09:46 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-14 17:09:46 DEBUG 94.73.41.43 Form::select_country
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-14 17:09:46 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 17:09:46 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 17:09:46 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-14 17:09:46 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-14 17:09:46 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-14 17:09:46 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:09:46 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:09:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:09:46 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 17:09:46 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-08-14 17:09:46 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-14 17:09:46 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-14 17:20:23 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:20:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:20:23 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_fournisseurs::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_shipments::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_ficheinter::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_last_ticket::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_contracts::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-08-14 19:20:23' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_services_expired::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_factures_fourn::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_supplier_orders::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_factures_imp::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_factures::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-08-14 17:20:23 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-14 17:20:23 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '8' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '8' ORDER BY daya ASC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_birthdays::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-08-14 17:20:23 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 box_actions::loadBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_actions::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 box_comptes::loadBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount FROM oe_bank WHERE fk_account = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-14 17:20:23 INFO 94.73.41.43 box_comptes::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_produits::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-14 17:20:23 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1692014052.
2023-08-14 17:20:23 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-14 17:20:23 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_services_contracts::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 box_lastlogin::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_propales::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 box_clients::loadBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_clients::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 box_prospect::loadBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_prospect::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_contacts::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 17:20:23 INFO 94.73.41.43 box_commandes::showBox
2023-08-14 17:20:23 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.rappro=0 AND b.fk_account = ba.rowid AND ba.entity IN (1) AND (ba.rappro = 1 AND ba.courant != 2) AND clos = 0
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-08-14 17:20:23 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-08-14 17:20:23 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-14 17:20:24 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:20:24 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:20:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:20:24 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:20:24 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:20:24 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:20:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:20:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:20:24 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 17:20:24 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-08-14 17:20:24 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-08-14 17:20:24 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-14 17:20:27 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:20:27 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:20:27 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_fournisseurs::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_shipments::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_ficheinter::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_last_ticket::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_contracts::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-08-14 19:20:27' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_services_expired::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_factures_fourn::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_supplier_orders::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_factures_imp::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_factures::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-08-14 17:20:27 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-14 17:20:27 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '8' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '8' ORDER BY daya ASC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_birthdays::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-08-14 17:20:27 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 box_actions::loadBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_actions::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 box_comptes::loadBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount FROM oe_bank WHERE fk_account = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-14 17:20:27 INFO 94.73.41.43 box_comptes::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_produits::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1692014051.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-14 17:20:27 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1692014052.
2023-08-14 17:20:27 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-14 17:20:27 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_services_contracts::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 box_lastlogin::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_propales::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 box_clients::loadBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_clients::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 box_prospect::loadBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_prospect::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_contacts::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-14 17:20:27 INFO 94.73.41.43 box_commandes::showBox
2023-08-14 17:20:27 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.rappro=0 AND b.fk_account = ba.rowid AND ba.entity IN (1) AND (ba.rappro = 1 AND ba.courant != 2) AND clos = 0
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-08-14 17:20:27 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-08-14 17:20:27 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-14 17:30:04 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:30:04 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:30:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:30:04 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:30:04 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:30:04 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:30:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:30:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:30:04 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-08-14 17:30:04 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:30:04 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:30:04 INFO 94.73.41.43 --- End access to /admin/htdocs/accountancy/index.php
2023-08-14 17:30:06 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:30:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:30:07 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:30:07 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:30:07 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-08-14 17:30:07 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-14 17:30:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-08-14 17:30:07 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-08-14 17:30:10 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:30:10 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:30:10 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/bank/list.php - action=, massaction=
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.label, b.courant, b.rappro, b.account_number, b.fk_accountancy_journal, b.currency_code, b.datec as date_creation, b.tms as date_update FROM oe_bank_account as b WHERE b.entity IN (1) AND clos = 0 ORDER BY b.label ASC LIMIT 21
2023-08-14 17:30:10 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-14 17:30:10 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 5
2023-08-14 17:30:10 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-14 17:30:10 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-14 17:30:10 DEBUG 94.73.41.43 Account::fetch
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount FROM oe_bank WHERE fk_account = 1 AND dateo <= '2023-08-14 19:30:10'
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.rappro=0 AND b.fk_account = ba.rowid AND ba.entity IN (1) AND (ba.rappro = 1 AND ba.courant != 2) AND clos = 0 AND ba.rowid = 1
2023-08-14 17:30:10 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-14 17:30:10 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-14 17:30:10 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/bank/list.php={"search_category_bank_account_list":[]} (systematic recording of last search criterias)
2023-08-14 17:30:10 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/bank/list.php
2023-08-14 17:30:11 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:30:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:30:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:30:11 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:30:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:30:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:30:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:30:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:30:11 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/accountancy/index.php - action=, massaction=
2023-08-14 17:30:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:30:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:30:11 INFO 94.73.41.43 --- End access to /admin/htdocs/accountancy/index.php
2023-08-14 17:30:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:30:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:30:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/ecm/index.php - action=, massaction=
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:30:12 DEBUG 94.73.41.43 EcmDirectory::load_motherof
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_ecm_directories WHERE fk_parent != 0 AND entity = 1
2023-08-14 17:30:12 DEBUG 94.73.41.43 EcmDirectory::get_full_arbo
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT c.rowid as rowid, c.label as label, c.description as description, c.cachenbofdoc, c.fk_user_c, c.date_c, u.login as login_c, u.statut as statut_c, ca.rowid as rowid_fille FROM oe_user as u, oe_ecm_directories as c LEFT JOIN oe_ecm_directories as ca ON c.rowid = ca.fk_parent WHERE c.fk_user_c = u.rowid AND c.entity = 1 ORDER BY c.label, c.rowid
2023-08-14 17:30:12 INFO 94.73.41.43 --- End access to /admin/htdocs/ecm/index.php
2023-08-14 17:30:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:30:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:30:12 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/core/ajax/ajaxdirtree.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:30:12 DEBUG 94.73.41.43 EcmDirectory::load_motherof
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_ecm_directories WHERE fk_parent != 0 AND entity = 1
2023-08-14 17:30:12 DEBUG 94.73.41.43 EcmDirectory::get_full_arbo
2023-08-14 17:30:12 DEBUG 94.73.41.43 sql=SELECT c.rowid as rowid, c.label as label, c.description as description, c.cachenbofdoc, c.fk_user_c, c.date_c, u.login as login_c, u.statut as statut_c, ca.rowid as rowid_fille FROM oe_user as u, oe_ecm_directories as c LEFT JOIN oe_ecm_directories as ca ON c.rowid = ca.fk_parent WHERE c.fk_user_c = u.rowid AND c.entity = 1 ORDER BY c.label, c.rowid
2023-08-14 17:30:12 INFO 94.73.41.43 --- End access to /admin/htdocs/core/ajax/ajaxdirtree.php
2023-08-14 17:30:13 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-14 17:30:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-14 17:30:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-14 17:30:13 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-08-14 17:30:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-14 17:30:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-08-14 17:30:13 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-08-15 15:28:59 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/index.php
2023-08-15 15:28:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action= - actionlogin= - showing the login form and exit
2023-08-15 15:28:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:28:59 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-15 15:28:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:28:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 15:28:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:28:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:28:59 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-08-15 15:28:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:28:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 15:28:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:28:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:28:59 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:29:00 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-15 15:29:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 15:29:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:29:00 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-08-15 15:29:00 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-15 15:29:00 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 15:29:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:29:00 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-08-15 15:29:02 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-08-15 15:29:03 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-08-15 15:29:03 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:29:03 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:29:03 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=4b40eec05a195863499d1e8ab6ec4e26
2023-08-15 15:29:03 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 15:29:03 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-15 17:29:03', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-15 17:29:03', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-15 15:29:03 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:29:03 DEBUG 94.73.41.43 Events::create
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36', '2023-08-15 17:29:03', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1655x679', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-08-15 15:29:03 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:29:03 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/index.php - action=, massaction=
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:29:03 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-15 15:29:03 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-15 15:29:04 INFO 94.73.41.43 box_fournisseurs::showBox
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-08-15 15:29:04 INFO 94.73.41.43 box_shipments::showBox
2023-08-15 15:29:04 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-08-15 15:29:04 INFO 94.73.41.43 box_ficheinter::showBox
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-08-15 15:29:04 INFO 94.73.41.43 box_last_ticket::showBox
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-08-15 15:29:04 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-15 15:29:04 INFO 94.73.41.43 box_contracts::showBox
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-08-15 17:29:04' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-08-15 15:29:04 INFO 94.73.41.43 box_services_expired::showBox
2023-08-15 15:29:04 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113344 - 86400) so we can't use it.
2023-08-15 15:29:04 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:04 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 15:29:04 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113344 - 86400) so we can't use it.
2023-08-15 15:29:04 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture_fourn as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:04 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 15:29:04 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-08-15 15:29:04 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113344 - 86400) so we can't use it.
2023-08-15 15:29:04 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:04 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:04 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 15:29:04 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113344 - 86400) so we can't use it.
2023-08-15 15:29:04 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-15 15:29:04 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande_fournisseur as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 15:29:05 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-08-15 15:29:05 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113345 - 86400) so we can't use it.
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, COUNT(*) as nb FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 15:29:05 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113345 - 86400) so we can't use it.
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(c.date_commande,'%m') as dm, SUM(c.total_ht) FROM oe_commande as c WHERE c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND c.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 15:29:05 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_factures_fourn::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_supplier_orders::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_factures_imp::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_factures::showBox
2023-08-15 15:29:05 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113345 - 86400) so we can't use it.
2023-08-15 15:29:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 FactureStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(f.datef,'%m') as dm, COUNT(*) as nb FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 15:29:05 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113345 - 86400) so we can't use it.
2023-08-15 15:29:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 FactureStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(datef,'%m') as dm, SUM(f.total_ht) FROM oe_facture as f WHERE f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 15:29:05 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-08-15 15:29:05 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-08-15 15:29:05 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-08-15 15:29:05 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113345 - 86400) so we can't use it.
2023-08-15 15:29:05 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 PropaleStats::_getNbByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, COUNT(*) as nb FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-15 15:29:05 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113345 - 86400) so we can't use it.
2023-08-15 15:29:05 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2021-01-01 00:00:00' AND '2021-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2022-01-01 00:00:00' AND '2022-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 DEBUG 94.73.41.43 PropaleStats::_getAmountByMonth
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT date_format(p.datep,'%m') as dm, SUM(p.total_ht) FROM oe_propal as p WHERE p.datep BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' AND p.entity IN (1) GROUP BY dm ORDER BY dm DESC
2023-08-15 15:29:05 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-15 15:29:05 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '8' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '8' ORDER BY daya ASC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_birthdays::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-08-15 15:29:05 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 box_actions::loadBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_actions::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 box_comptes::loadBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount FROM oe_bank WHERE fk_account = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:29:05 INFO 94.73.41.43 box_comptes::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_produits::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-08-15 15:29:05 INFO 94.73.41.43 CommandeStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113345 - 86400) so we can't use it.
2023-08-15 15:29:05 DEBUG 94.73.41.43 CommandeStats::_getAllByProduct
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_commande as c, oe_commandedet as tl, oe_product as product WHERE c.entity IN (1) AND c.rowid = tl.fk_commande AND tl.fk_product = product.rowid AND c.date_commande BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-08-15 15:29:05 INFO 94.73.41.43 CommandeStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-15 15:29:05 INFO 94.73.41.43 FactureStats::getAllByProductEntry cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache is not found or older than now - cachedelay (1692113345 - 86400) so we can't use it.
2023-08-15 15:29:05 DEBUG 94.73.41.43 FactureStats::_getAllByProduct
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT product.ref, COUNT(product.ref) as nb, SUM(tl.total_ht) as total, AVG(tl.total_ht) as avg FROM oe_facture as f, oe_facturedet as tl, oe_product as product WHERE f.fk_statut >= 0 AND f.entity IN (1) AND (f.fk_statut <> 3 OR f.close_code <> 'replaced') AND f.type IN (0,1,2,3,5) AND f.rowid = tl.fk_facture AND tl.fk_product = product.rowid AND f.datef BETWEEN '2023-01-01 00:00:00' AND '2023-12-31 23:59:59' GROUP BY product.ref ORDER BY nb DESC
2023-08-15 15:29:05 INFO 94.73.41.43 FactureStats::getAllByProductEntry save cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache onto disk.
2023-08-15 15:29:05 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-15 15:29:05 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_services_contracts::showBox
2023-08-15 15:29:05 INFO 94.73.41.43 box_lastlogin::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_propales::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 box_clients::loadBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_clients::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 box_prospect::loadBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_prospect::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_contacts::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-15 15:29:05 INFO 94.73.41.43 box_commandes::showBox
2023-08-15 15:29:05 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.rappro=0 AND b.fk_account = ba.rowid AND ba.entity IN (1) AND (ba.rappro = 1 AND ba.courant != 2) AND clos = 0
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-08-15 15:29:05 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-08-15 15:29:05 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-15 15:29:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 15:29:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:29:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:29:06 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-15 15:29:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 15:29:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:29:06 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-08-15 15:29:06 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:29:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:29:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:29:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:29:06 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-08-15 15:29:06 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-15 15:29:07 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 15:29:07 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:29:07 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:29:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:29:07 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:29:07 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:07 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:29:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:29:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:29:07 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:29:07 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-08-15 15:29:07 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-08-15 15:29:07 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 15:29:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:29:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:29:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:29:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:29:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:29:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:29:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:29:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-07-16' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-31' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-08-15' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-08-15' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-30' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-09-14' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-08-15 15:29:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-07-16' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-31' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-08-15' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-08-15' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-30' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-09-14' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-08-15 15:29:13 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-08-15 15:29:13 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/index.php
2023-08-15 15:29:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 15:29:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:29:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:29:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:29:13 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-15 15:32:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:32:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:32:45 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:32:45 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 15:32:45 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 15:32:45 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 15:32:45 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 15:32:45 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:32:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:32:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:32:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:32:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:32:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:32:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:32:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:32:45 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 15:32:45 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 15:32:45 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 15:32:45 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 15:32:45 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 15:32:45 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:32:46 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:32:46 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:32:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:32:46 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:32:46 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:32:46 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:32:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:32:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:32:46 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-07-16' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-31' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-08-15' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-08-15' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-30' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-09-14' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-08-15 15:32:47 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-07-16' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-31' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-08-15' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-08-15' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-30' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-09-14' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-08-15 15:32:47 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-08-15 15:32:47 DEBUG 94.73.41.43 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-08-15 15:32:47 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/index.php
2023-08-15 15:45:33 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:45:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:45:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 15:45:34 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 15:45:34 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:45:34 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 15:45:34 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:45:34 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:45:34 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:45:34 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:45:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 15:45:34 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:45:34 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:45:34 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:45:34 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 15:50:50 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:50:50 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:50:50 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 15:50:50 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 15:50:50 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:50:50 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 15:50:50 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:50:50 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:50:50 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:50:50 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:50:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 15:50:50 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:50:50 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:50:50 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:50:50 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 15:54:32 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:54:32 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:54:32 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:54:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:54:33 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 15:54:33 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 15:54:33 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 15:54:33 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 15:54:33 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:54:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:54:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:54:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:54:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:54:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:54:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:54:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:54:33 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 15:54:33 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 15:54:33 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 15:54:33 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 15:54:33 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 15:54:33 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:54:41 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:54:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:54:41 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:54:41 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.entity IN (1) AND f.ref = 'provisoire'
2023-08-15 15:54:41 WARNING 94.73.41.43 Facture::fetchInvoice with id= or ref=provisoire or ref_ext= not found
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:54:41 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1
2023-08-15 15:54:41 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 1 AND entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:54:41 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 1 ORDER BY f.ref
2023-08-15 15:54:41 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 1 ORDER BY f.ref
2023-08-15 15:54:41 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 15:54:41 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 15:54:41 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 15:54:41 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:54:41 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 15:54:41 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 15:54:41 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 15:54:41 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 15:54:41 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 15:54:41 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:58:25 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:58:25 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:58:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:58:25 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:58:25 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:58:25 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:58:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:58:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:58:25 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 15:58:25 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:58:25 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:58:26 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:58:26 INFO 94.73.41.43 Facture::create user=1 date=1672700400
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=INSERT INTO oe_facture ( ref, entity, ref_ext, type, fk_soc, datec, remise_absolue, remise_percent, datef, date_pointoftax, note_private, note_public, ref_client, fk_account, module_source, pos_source, fk_fac_rec_source, fk_facture_source, fk_user_author, fk_projet, fk_cond_reglement, fk_mode_reglement, date_lim_reglement, model_pdf, situation_cycle_ref, situation_counter, situation_final, fk_incoterms, location_incoterms, fk_multicurrency, multicurrency_code, multicurrency_tx, retained_warranty, retained_warranty_date_limit, retained_warranty_fk_cond_reglement) VALUES ('(PROV)', 1, null, '0', 1, '2023-08-15 17:58:26', NULL, NULL, '2023-01-03 00:00:00', null, null, null, null, 1, null, null, null, null, 1, null, 1, 3, '2023-01-04 00:00:00', 'crabe', null, null, 0, 0, '', 0, 'EUR', 1, 0, '2023-01-04 00:00:00', 0)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='(PROV1)' WHERE rowid=1
2023-08-15 15:58:26 INFO 94.73.41.43 There is 0 lines that are array lines
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 1 AND product_type <> 9 ORDER by rowid
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 1
2023-08-15 15:58:26 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=1
2023-08-15 15:58:26 INFO 94.73.41.43 Trigger 'ContactRoles' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_90_modSociete_ContactRoles.class.php. id=1
2023-08-15 15:58:26 DEBUG 94.73.41.43 Contact::getContactRoles
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT sc.fk_socpeople as id, sc.fk_c_type_contact FROM oe_c_type_contact tc, oe_societe_contacts sc INNER JOIN oe_socpeople sp ON sc.fk_socpeople = sp.rowid AND sp.statut = 1 WHERE sc.fk_soc =1 AND sc.fk_c_type_contact=tc.rowid AND tc.element = 'facture' AND tc.active = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 1 AND product_type <> 9 ORDER by rowid
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 15:58:26 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:58:26 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:58:26 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:58:26 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:58:26 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:58:26 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 1 AND pfd.ext_payment_id IS NULL
2023-08-15 15:58:26 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV1) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV1)' AND te.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV1)' AND te.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type = 2
2023-08-15 15:58:26 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 15:58:26 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Account::fetch
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 15:58:26 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:58:26 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 15:58:26 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 15:58:26 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 15:58:26 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 15:58:26 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 15:58:26 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 1
2023-08-15 15:58:26 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV1) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:58:26 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 15:58:26 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:58:26 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV1)'
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (1) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:26 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 1 AND sourcetype = 'facture') OR (fk_target = 1 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 15:58:26 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 1 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 15:58:26 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 15:58:26 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 15:58:26 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:58:47 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:58:47 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:58:47 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:58:47 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:58:47 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:58:47 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:58:47 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:58:47 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=1/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 15:58:47 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=1/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 15:58:47 DEBUG 94.73.41.43 Facture::addline id=1, pu_ht=21324.02, qty=1, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=REPARACIÓN EDIFICIO DIGES…
2023-08-15 15:58:47 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 15:58:47 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 15:58:47 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=1/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 15:58:47 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=1/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 15:58:47 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=21324.02 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 15:58:47 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=21324.02 qty=1 price_base_type=HT total_ht=21324.02-total_vat=4478.04-total_ttc=25802.06
2023-08-15 15:58:47 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 1
2023-08-15 15:58:47 DEBUG 94.73.41.43 FactureLigne::insert rang=1
2023-08-15 15:58:47 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 15:58:47 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (1, null, null, 'REPARACIÓN EDIFICIO DIGESTION FASE 2', 1, '', 21, 0, 0, '3', '5', null, 1, 0, 21324.02, '', null, null, null, 0, 1, 0, null, 0, '0', 21324.02, 4478.04, 25802.06, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 21324.02, 21324.02, 4478.04, 25802.06)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 1 AND product_type <> 9 ORDER by rowid
2023-08-15 15:58:48 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=21324.02000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 15:58:48 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=21324.02000000 qty=1 price_base_type=HT total_ht=21324.02-total_vat=4478.04-total_ttc=25802.06
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 21324.02, total_tva = 4478.04, localtax1 = 0, localtax2 = 0, total_ttc = 25802.06, multicurrency_total_ht = 21324.02, multicurrency_total_tva = 4478.04, multicurrency_total_ttc = 25802.06 WHERE rowid = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:58:48 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 15:58:48 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 15:58:48 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:58:48 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/facture/(PROV1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV1)' does not exists or is outside open_basedir PHP setting.
2023-08-15 15:58:48 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV1)' created
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 15:58:48 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 15:58:48 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/admin' does not exists or is outside open_basedir PHP setting.
2023-08-15 15:58:48 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/admin' created
2023-08-15 15:58:48 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/admin/temp' does not exists or is outside open_basedir PHP setting.
2023-08-15 15:58:48 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/admin/temp' created
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 1 AND sourcetype = 'facture') OR (fk_target = 1 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 1 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:58:48 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, type, fk_soc, bank, number, code_banque, code_guichet, cle_rib, bic, iban_prefix as iban, domiciliation, proprio, owner_address, default_rib, label, datec, tms as datem, rum, frstrecur, date_rum, stripe_card_ref, stripe_account FROM oe_societe_rib WHERE fk_soc = 1 AND default_rib = 1 AND type = 'ban'
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:58:48 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV1)' AND t.filename = '(PROV1).pdf' AND t.entity = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 15:58:48 DEBUG 94.73.41.43 EcmFiles::create
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT MAX(position) as maxposition FROM oe_ecm_files WHERE filepath ='facture/(PROV1)'
2023-08-15 15:58:48 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=INSERT INTO oe_ecm_files(ref,label,share,entity,filename,filepath,fullpath_orig,description,keywords,cover,position,gen_or_uploaded,extraparams,date_c,tms,fk_user_c,fk_user_m,acl,src_object_type,src_object_id) VALUES ( '9f7d6029c280b7cd28fbe75489eec707', 'e6b47d1484e740fbe25311ac0f2ed336', NULL, 1, '(PROV1).pdf', 'facture/(PROV1)', '', '', '', NULL, 1, 'generated', NULL, '2023-08-15 17:58:48', '2023-08-15 17:58:48', 1, NULL, NULL, 'facture', 1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV1)/(PROV1).pdf' WHERE rowid = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 1 AND pfd.ext_payment_id IS NULL
2023-08-15 15:58:48 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV1) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV1)' AND te.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV1)' AND te.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type = 2
2023-08-15 15:58:48 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 15:58:48 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 Account::fetch
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 15:58:48 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:58:48 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 15:58:48 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 15:58:48 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 15:58:48 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 15:58:48 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 15:58:48 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 1
2023-08-15 15:58:48 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV1) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:58:48 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 15:58:48 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV1)'
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (1) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:58:48 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 1 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 15:58:48 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 15:58:48 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:58:48 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:58:48 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:58:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:58:48 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:58:48 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV1)/(PROV1).pdf_preview.png entity=1
2023-08-15 15:58:48 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV1)/(PROV1).pdf_preview.png filename=(PROV1).pdf_preview.png content-type=image/png
2023-08-15 15:58:48 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 15:59:23 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=valid, massaction=
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:23 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:23 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:59:23 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 1 AND pfd.ext_payment_id IS NULL
2023-08-15 15:59:23 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV1) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=CADAGUA,SA, type=, mode=next
2023-08-15 15:59:23 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 15:59:23 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2301-0001
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV1)' AND te.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV1)' AND te.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type = 2
2023-08-15 15:59:23 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 15:59:23 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Account::fetch
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:23 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV1) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:59:23 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 15:59:23 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV1)'
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (1) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:23 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 1 AND sourcetype = 'facture') OR (fk_target = 1 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 15:59:23 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 1 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 15:59:23 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 15:59:23 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:59:23 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:59:23 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV1)/(PROV1).pdf_preview.png entity=1
2023-08-15 15:59:23 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV1)/(PROV1).pdf_preview.png filename=(PROV1).pdf_preview.png content-type=image/png
2023-08-15 15:59:23 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 15:59:25 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:25 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=confirm_valid, massaction=
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:59:25 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:25 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 15:59:25 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=CADAGUA,SA, type=, mode=next
2023-08-15 15:59:25 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 15:59:25 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2301-0001
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 1 AND product_type <> 9 ORDER by rowid
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 21324.02, total_tva = 4478.04, localtax1 = 0, localtax2 = 0, total_ttc = 25802.06, multicurrency_total_ht = 21324.02, multicurrency_total_tva = 4478.04, multicurrency_total_ttc = 25802.06 WHERE rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::validate
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref = 'IN2301-0001', fk_statut = 1, fk_user_valid = 1, date_valid = '2023-08-15 17:59:25' WHERE rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET client = 1 WHERE rowid = 1
2023-08-15 15:59:25 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 1 AND targettype = 'facture' AND sourcetype = 'commande' ORDER BY sourcetype
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 1 AND targettype = 'facture' AND sourcetype = 'propal' ORDER BY sourcetype
2023-08-15 15:59:25 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=1
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 15:59:25 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 17:59:25', '2023-08-15 17:59:25', '2023-08-15 17:59:25', null, 40,'AC_BILL_VALIDATE', null, 1, null, 'Factura IN2301-0001 validada', null, 1, 1, null, 'Factura IN2301-0001 validada', '-1', '0', '0', '', '0', 1, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='20' WHERE id=20
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(20, 'user', 1, 0, 0, 0)
2023-08-15 15:59:25 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=1
2023-08-15 15:59:25 DEBUG 94.73.41.43 BlockedLog::create action=BILL_VALIDATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 17:59:25','BILL_VALIDATE',25802.06,'3e6518c9e46387ffa8c57a6d2b8c671fd371e3d664401edbd5c5d41f56a93b4d','16259246e456a88bcc928d6f2fb9dc763036e0604c6c5db9a11b512fc86e901a','facture',1,'2023-01-03 00:00:00','IN2301-0001','O:8:\"stdClass\":10:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:10:\"CADAGUA,SA\";s:10:\"name_alias\";s:10:\"CADAGUA,SA\";s:7:\"address\";s:37:\"Calle Gran Vía, no 45, 48011 BILBAO.\";s:7:\"idprof1\";s:9:\"ESA480622\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00001\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:4:\"date\";i:1672700400;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";d:21324.02;s:9:\"total_tva\";d:4478.04;s:9:\"total_ttc\";d:25802.06;s:12:\"revenuestamp\";s:10:\"0.00000000\";s:11:\"invoiceline\";a:1:{i:1;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:14:\"21324.02000000\";s:23:\"multicurrency_total_tva\";s:13:\"4478.04000000\";s:23:\"multicurrency_total_ttc\";s:14:\"25802.06000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"1\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:14:\"21324.02000000\";s:9:\"total_tva\";s:13:\"4478.04000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:14:\"25802.06000000\";s:9:\"info_bits\";s:1:\"0\";}}s:3:\"ref\";s:11:\"IN2301-0001\";}','',0,1,'SuperAdmin',1)
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files set filename = CONCAT('IN2301-0001', SUBSTR(filename, 8)), filepath = 'facture/IN2301-0001' WHERE filename LIKE '(PROV1)%' AND filepath = 'facture/(PROV1)' and entity = 1
2023-08-15 15:59:25 INFO 94.73.41.43 Facture::validate rename dir /home/iymllvj/oteimsa/admin/documents/facture/(PROV1) into /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001
2023-08-15 15:59:25 INFO 94.73.41.43 Rename ok
2023-08-15 15:59:25 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=1 filter=^\(PROV1\) excludefilter=null
2023-08-15 15:59:25 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:25 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 15:59:25 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 15:59:25 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 15:59:25 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 1 AND sourcetype = 'facture') OR (fk_target = 1 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 1 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:25 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, type, fk_soc, bank, number, code_banque, code_guichet, cle_rib, bic, iban_prefix as iban, domiciliation, proprio, owner_address, default_rib, label, datec, tms as datem, rum, frstrecur, date_rum, stripe_card_ref, stripe_account FROM oe_societe_rib WHERE fk_soc = 1 AND default_rib = 1 AND type = 'ban'
2023-08-15 15:59:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:25 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001/IN2301-0001.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 15:59:25 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001/IN2301-0001.pdf_preview.png
2023-08-15 15:59:25 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2301-0001' AND t.filename = 'IN2301-0001.pdf' AND t.entity = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 15:59:25 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 15:59:25 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '88f36ebdc50d3f728571813e905e075f', label = 'cdb31ed389fcb9f19b464f0d97e0440a', share = null, entity = 1, filename = 'IN2301-0001.pdf', filepath = 'facture/IN2301-0001', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 17:58:48', fk_user_m = 1, acl = null, src_object_id = 1, src_object_type = 'facture' WHERE rowid=1
2023-08-15 15:59:25 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2301-0001/IN2301-0001.pdf' WHERE rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:25 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:59:25 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:59:25 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 1 AND pfd.ext_payment_id IS NULL
2023-08-15 15:59:25 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 15:59:25 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2301-0001' AND te.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2301-0001' AND te.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type = 2
2023-08-15 15:59:26 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 15:59:26 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 Account::fetch
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 15:59:26 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 1
2023-08-15 15:59:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 1
2023-08-15 15:59:26 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 1
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 1
2023-08-15 15:59:26 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=CADAGUA,SA, type=, mode=last
2023-08-15 15:59:26 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0001' AND entity IN (1) ORDER BY ref DESC
2023-08-15 15:59:26 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:26 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:59:26 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 15:59:26 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:59:26 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2301-0001'
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (1) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:26 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 1 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 15:59:26 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 20
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 20 AND element_type IN ('user', 'socpeople')
2023-08-15 15:59:26 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 15:59:26 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:59:26 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:26 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:26 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:59:26 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2301-0001/IN2301-0001.pdf_preview.png entity=1
2023-08-15 15:59:26 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001/IN2301-0001.pdf_preview.png filename=IN2301-0001.pdf_preview.png content-type=image/png
2023-08-15 15:59:26 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 15:59:28 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:28 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:28 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 15:59:28 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 15:59:28 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:59:28 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 15:59:28 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:59:28 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:59:28 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:59:28 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 15:59:28 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:59:28 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:59:28 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 15:59:28 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:28 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:28 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:59:28 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:59:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 15:59:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:59:28 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 15:59:33 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:33 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:33 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=validate
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:33 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 15:59:33 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:33 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:59:33 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=0
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:59:33 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:33 WARNING 94.73.41.43 Facture::validate status is not draft. operation canceled.
2023-08-15 15:59:33 DEBUG 94.73.41.43 ROLLBACK Transaction
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 15:59:33 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 15:59:33 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:59:33 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 15:59:33 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:59:33 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:59:33 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:59:33 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 15:59:33 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:59:33 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:59:33 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 15:59:33 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:33 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:33 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:59:33 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:59:33 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 15:59:33 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:59:33 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 15:59:33 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 15:59:36 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:36 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:36 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=makepayment
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:36 DEBUG 94.73.41.43 Form::select_types_paiements , paiementid, , 0
2023-08-15 15:59:36 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 15:59:36 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 15:59:36 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 15:59:36 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:59:36 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:59:36 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:59:36 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 15:59:36 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:59:36 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:59:36 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 15:59:36 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:36 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:36 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:59:36 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:59:36 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 15:59:36 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:59:36 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 15:59:36 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 15:59:54 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:54 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=makepayment_confirm, massaction=
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:59:54 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:54 INFO 94.73.41.43 Facture::setBankAccount(1)
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_account = 1 WHERE rowid=1
2023-08-15 15:59:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'FACTURE_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=1
2023-08-15 15:59:54 DEBUG 94.73.41.43 MultiCurrency::getInvoiceRate
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT multicurrency_tx FROM oe_facture WHERE rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Paiement::create insert paiement
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 9) AS SIGNED)) as max FROM oe_paiement WHERE ref LIKE 'PAY____-%' AND entity = 1
2023-08-15 15:59:54 INFO 94.73.41.43 mod_payment_cicada::getNextValue return PAY2306-0001
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement (entity, ref, ref_ext, datec, datep, amount, multicurrency_amount, fk_paiement, num_paiement, note, ext_payment_id, ext_payment_site, fk_user_creat, pos_change) VALUES (1, 'PAY2306-0001', '', '2023-08-15 17:59:54', '2023-06-23 12:00:00', 25802.06, 25802.06, 2, '', '', null, null, 1, 0)
2023-08-15 15:59:54 DEBUG 94.73.41.43 Paiement::create Amount line 1 insert paiement_facture
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement_facture (fk_facture, fk_paiement, amount, multicurrency_amount) VALUES (1, 1, 25802.06, 25802.06)
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::setPaid rowid=1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_statut=2, paye=1, fk_user_closing = 1, date_closing = '2023-08-15 17:59:54' WHERE rowid = 1
2023-08-15 15:59:54 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=1
2023-08-15 15:59:54 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:59:54 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 15:59:54 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 17:59:54', '2023-08-15 17:59:54', '2023-08-15 17:59:54', null, 40,'AC_BILL_PAYED', null, 1, null, 'Factura IN2301-0001 pasada a pagada', null, 1, 1, null, 'Factura IN2301-0001 pasada a pagada', '-1', '0', '0', '', '0', 1, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='21' WHERE id=21
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(21, 'user', 1, 0, 0, 0)
2023-08-15 15:59:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Paiement::create Regenerate the document after inserting payment for thirdparty default_lang=null
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:54 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 15:59:54 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 15:59:54 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 15:59:54 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 1 AND sourcetype = 'facture') OR (fk_target = 1 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 1 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:54 INFO 94.73.41.43 bottomlasttab=221 this->page_hauteur=297 heightforinfotot=54 heightforfreetext=5 heightforfooter=18
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, type, fk_soc, bank, number, code_banque, code_guichet, cle_rib, bic, iban_prefix as iban, domiciliation, proprio, owner_address, default_rib, label, datec, tms as datem, rum, frstrecur, date_rum, stripe_card_ref, stripe_account FROM oe_societe_rib WHERE fk_soc = 1 AND default_rib = 1 AND type = 'ban'
2023-08-15 15:59:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.multicurrency_amount_ht, re.amount_tva, re.multicurrency_amount_tva, re.amount_ttc, re.multicurrency_amount_ttc, re.description, re.fk_facture_source, f.type, f.datef FROM oe_societe_remise_except as re, oe_facture as f WHERE re.fk_facture_source = f.rowid AND re.fk_facture = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT p.datep as date, p.fk_paiement, p.num_paiement as num, pf.amount as amount, pf.multicurrency_amount, cp.code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as cp ON p.fk_paiement = cp.id WHERE pf.fk_paiement = p.rowid AND pf.fk_facture = 1 ORDER BY p.datep
2023-08-15 15:59:54 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001/IN2301-0001.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 15:59:54 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001/IN2301-0001.pdf_preview.png
2023-08-15 15:59:54 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2301-0001' AND t.filename = 'IN2301-0001.pdf' AND t.entity = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 15:59:54 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '88f36ebdc50d3f728571813e905e075f', label = '501157b4593d7446f57c03aea198bef4', share = null, entity = 1, filename = 'IN2301-0001.pdf', filepath = 'facture/IN2301-0001', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 17:58:48', fk_user_m = 1, acl = null, src_object_id = 1, src_object_type = 'facture' WHERE rowid=1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2301-0001/IN2301-0001.pdf' WHERE rowid = 1
2023-08-15 15:59:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_CUSTOMER_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT pf.fk_facture FROM oe_paiement_facture as pf, oe_facture as f WHERE pf.fk_facture = f.rowid AND pf.fk_paiement = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key 2 not found into cache)
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_paiement WHERE id = '2'
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 BlockedLog::create action=PAYMENT_CUSTOMER_CREATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 17:59:54','PAYMENT_CUSTOMER_CREATE',25802.06,'63f332864498c238ec5344e8320ccfb6e2bee8ae37aa7b1ed622cab46cb60d5e','b23c13962f2a7ee70906a51c46402771f20b08a83e94ab902f779805f34de0cc','payment',1,'2023-06-23 12:00:00','PAY2306-0001','O:8:\"stdClass\":7:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:10:\"CADAGUA,SA\";s:10:\"name_alias\";s:10:\"CADAGUA,SA\";s:7:\"address\";s:37:\"Calle Gran Vía, no 45, 48011 BILBAO.\";s:7:\"idprof1\";s:9:\"ESA480622\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00001\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:3:\"ref\";s:12:\"PAY2306-0001\";s:4:\"date\";i:1687514400;s:9:\"type_code\";s:3:\"VIR\";s:12:\"payment_part\";a:1:{i:1;O:8:\"stdClass\":3:{s:6:\"amount\";s:8:\"25802.06\";s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:10:\"CADAGUA,SA\";s:10:\"name_alias\";s:10:\"CADAGUA,SA\";s:7:\"address\";s:37:\"Calle Gran Vía, no 45, 48011 BILBAO.\";s:7:\"idprof1\";s:9:\"ESA480622\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00001\";s:12:\"country_code\";s:2:\"ES\";}s:7:\"invoice\";O:8:\"stdClass\":7:{s:4:\"date\";i:1672700400;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";s:14:\"21324.02000000\";s:9:\"total_tva\";s:13:\"4478.04000000\";s:9:\"total_ttc\";s:14:\"25802.06000000\";s:12:\"revenuestamp\";s:10:\"0.00000000\";s:3:\"ref\";s:11:\"IN2301-0001\";}}}s:6:\"amount\";d:25802.06;}','',0,1,'SuperAdmin',1)
2023-08-15 15:59:54 INFO 94.73.41.43 addPaymentToBank 1, payment, , 1, ,
2023-08-15 15:59:54 DEBUG 94.73.41.43 Account::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 15:59:54 WARNING 94.73.41.43 Account::addline: using numeric operations is deprecated
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT code FROM oe_c_paiement WHERE id = 2 AND entity IN (1)
2023-08-15 15:59:54 DEBUG 94.73.41.43 AccountLine::insert
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank (datec, dateo, datev, label, amount, amount_main_currency, fk_user_author, num_chq, fk_account, fk_type, emetteur,banque, rappro, numero_compte, num_releve) VALUES ('2023-08-15 17:59:54', '2023-06-23 12:00:00', '2023-06-23 12:00:00', '', 25802.06, NULL, 1, null, '1', 'VIR', null, null, 0, '', null)
2023-08-15 15:59:54 DEBUG 94.73.41.43 Paiement::update_fk_bank
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=UPDATE oe_paiement set fk_bank = 2 WHERE rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 2, 1, '/admin/htdocs/compta/paiement/card.php?id=', '(paiement)', 'payment')
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:54 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 2, 1, '/admin/htdocs/comm/card.php?socid=', 'CADAGUA,SA', 'company')
2023-08-15 15:59:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_ADD_TO_BANK' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=1
2023-08-15 15:59:54 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 15:59:55 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 15:59:55 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:59:55 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 15:59:55 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:59:55 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:59:55 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 15:59:55 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 15:59:55 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 15:59:55 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 15:59:55 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 15:59:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:55 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:59:55 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:59:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 15:59:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:59:55 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 15:59:55 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 15:59:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:57 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:57 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:57 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:57 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 15:59:57 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 15:59:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 15:59:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 15:59:57 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:59:57 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 15:59:57 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:59:57 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 1 AND pfd.ext_payment_id IS NULL
2023-08-15 15:59:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 15:59:57 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2301-0001' AND te.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2301-0001' AND te.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type = 2
2023-08-15 15:59:58 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 15:59:58 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Account::fetch
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 15:59:58 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT pf.fk_facture FROM oe_paiement_facture as pf, oe_facture as f WHERE pf.fk_facture = f.rowid AND pf.fk_paiement = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 15:59:58 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=CADAGUA,SA, type=, mode=last
2023-08-15 15:59:58 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0001' AND entity IN (1) ORDER BY ref DESC
2023-08-15 15:59:58 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 15:59:58 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 15:59:58 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 15:59:58 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2301-0001'
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (1) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 15:59:58 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 1 AND sourcetype = 'facture') OR (fk_target = 1 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 15:59:58 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 1 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 15:59:58 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 21
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 21 AND element_type IN ('user', 'socpeople')
2023-08-15 15:59:58 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 20
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 20 AND element_type IN ('user', 'socpeople')
2023-08-15 15:59:58 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 15:59:58 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 15:59:58 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 15:59:58 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 15:59:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 15:59:58 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 15:59:58 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2301-0001/IN2301-0001.pdf_preview.png entity=1
2023-08-15 15:59:58 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001/IN2301-0001.pdf_preview.png filename=IN2301-0001.pdf_preview.png content-type=image/png
2023-08-15 15:59:58 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 16:00:00 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 16:00:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=editpaymentterm, massaction=
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 16:00:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 16:00:00 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 16:00:00 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 1 AND pfd.ext_payment_id IS NULL
2023-08-15 16:00:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2301-0001' AND te.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2301-0001' AND te.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type = 2
2023-08-15 16:00:00 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 16:00:00 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Account::fetch
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT pf.fk_facture FROM oe_paiement_facture as pf, oe_facture as f WHERE pf.fk_facture = f.rowid AND pf.fk_paiement = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 16:00:00 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=CADAGUA,SA, type=, mode=last
2023-08-15 16:00:00 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0001' AND entity IN (1) ORDER BY ref DESC
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 16:00:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 16:00:00 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 16:00:00 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2301-0001'
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (1) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:00 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 1 AND sourcetype = 'facture') OR (fk_target = 1 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 16:00:00 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 1 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 16:00:00 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 21
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 21 AND element_type IN ('user', 'socpeople')
2023-08-15 16:00:00 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 20
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 20 AND element_type IN ('user', 'socpeople')
2023-08-15 16:00:00 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 16:00:00 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 16:00:00 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 16:00:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 16:00:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 16:00:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 16:00:00 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2301-0001/IN2301-0001.pdf_preview.png entity=1
2023-08-15 16:00:00 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001/IN2301-0001.pdf_preview.png filename=IN2301-0001.pdf_preview.png content-type=image/png
2023-08-15 16:00:00 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 16:00:03 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 16:00:03 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=setpaymentterm, massaction=
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:03 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::update
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='IN2301-0001', ref_ext=null, type=0, ref_client=null, increment=null, fk_soc=1, datec='2023-08-15 17:58:26', datef='2023-01-03 00:00:00', date_pointoftax=null, date_valid='2023-08-15 00:00:00', paye=1, remise_percent=null, remise_absolue=null, close_code=null, close_note=null, total_tva=4478.04000000, localtax1=0.00000000, localtax2=0.00000000, total_ht=21324.02000000, total_ttc=25802.06000000, revenuestamp=0.00000000, fk_statut=2, fk_user_author=1, fk_user_valid=1, fk_facture_source=null, fk_projet=null, fk_cond_reglement=1, fk_mode_reglement=3, date_lim_reglement='2023-03-04 12:00:00', note_private=null, note_public=null, model_pdf='crabe', import_key=null, situation_cycle_ref=null, situation_counter=null, situation_final=0, retained_warranty=0, retained_warranty_date_limit='2023-01-04 00:00:00', retained_warranty_fk_cond_reglement=0 WHERE rowid=1
2023-08-15 16:00:03 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=1
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 16:00:03 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 16:00:03 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 18:00:03', '2023-08-15 18:00:03', '2023-08-15 18:00:03', null, 40,'AC_BILL_MODIFY', null, 1, null, 'Registro IN2301-0001 modificado', null, 1, 1, null, 'Registro IN2301-0001 modificado', '-1', '0', '0', '', '0', 1, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='22' WHERE id=22
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(22, 'user', 1, 0, 0, 0)
2023-08-15 16:00:03 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=1
2023-08-15 16:00:03 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 16:00:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 16:00:03 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 16:00:03 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 1 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 1 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 1 AND pfd.ext_payment_id IS NULL
2023-08-15 16:00:03 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2301-0001' AND te.entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2301-0001' AND te.entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 1 AND type = 2
2023-08-15 16:00:03 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 16:00:03 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 16:00:03 DEBUG 94.73.41.43 Account::fetch
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 16:00:03 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 1 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT pf.fk_facture FROM oe_paiement_facture as pf, oe_facture as f WHERE pf.fk_facture = f.rowid AND pf.fk_paiement = 1
2023-08-15 16:00:03 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 16:00:03 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 1
2023-08-15 16:00:04 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 1
2023-08-15 16:00:04 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 1 ORDER BY l.rang, l.rowid
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 16:00:04 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 1
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 1
2023-08-15 16:00:04 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=CADAGUA,SA, type=, mode=last
2023-08-15 16:00:04 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0001' AND entity IN (1) ORDER BY ref DESC
2023-08-15 16:00:04 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 16:00:04 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 16:00:04 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 16:00:04 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 1 AND entity = 1
2023-08-15 16:00:04 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2301-0001'
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (1) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (1) AND t.entity IN (1)
2023-08-15 16:00:04 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 1 AND sourcetype = 'facture') OR (fk_target = 1 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 16:00:04 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 1 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 16:00:04 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 22
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 22 AND element_type IN ('user', 'socpeople')
2023-08-15 16:00:04 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 21
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 21 AND element_type IN ('user', 'socpeople')
2023-08-15 16:00:04 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 20
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 20 AND element_type IN ('user', 'socpeople')
2023-08-15 16:00:04 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 16:00:04 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 16:00:04 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 16:00:04 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 16:00:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 16:00:04 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 16:00:04 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2301-0001/IN2301-0001.pdf_preview.png entity=1
2023-08-15 16:00:04 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001/IN2301-0001.pdf_preview.png filename=IN2301-0001.pdf_preview.png content-type=image/png
2023-08-15 16:00:04 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 16:00:06 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 16:00:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 16:00:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 16:00:06 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 16:00:06 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 16:00:06 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 16:00:06 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 16:00:06 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 16:00:06 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 16:00:06 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 16:00:06 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 16:00:06 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 16:00:06 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 16:00:06 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 16:00:06 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 16:00:06 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 16:00:06 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 16:00:06 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 16:00:06 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 16:00:06 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 16:00:06 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 16:00:06 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 16:00:06 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 16:00:06 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 16:00:16 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 16:00:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 16:00:16 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 16:00:16 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 16:00:16 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 16:00:16 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 16:00:16 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 16:00:16 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 16:00:16 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 16:00:16 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 16:00:16 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 16:00:16 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 16:00:16 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 16:00:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 16:00:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 16:00:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 16:00:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 16:00:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 16:00:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 16:00:16 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 16:00:16 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 16:00:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 16:00:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 16:00:16 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:32:53 DEBUG 94.73.41.43 NEW TOKEN generated by : /admin/htdocs/compta/facture/card.php
2023-08-15 18:32:53 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create - actionlogin= - showing the login form and exit
2023-08-15 18:32:53 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:32:53 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:32:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:32:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 18:32:54 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_head.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:32:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:32:54 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_head.js.php
2023-08-15 18:32:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:32:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 18:32:54 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:32:54 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:32:54 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:32:54 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-15 18:32:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:32:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 18:32:54 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:32:54 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_small.jpg entity=1
2023-08-15 18:32:54 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-15 18:32:54 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:32:54 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/manifest.json.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:32:54 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/manifest.json.php
2023-08-15 18:32:56 INFO 94.73.41.43 checkLoginPassEntity usertotest=oteimsa entitytotest=1 authmode=dolibarr
2023-08-15 18:32:56 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr usertotest=oteimsa passwordtotest=********** entitytotest=1
2023-08-15 18:32:56 DEBUG 94.73.41.43 sql=SELECT rowid, login, entity, pass, pass_crypted, datestartvalidity, dateendvalidity FROM oe_user WHERE (login = 'oteimsa') AND entity IN (0,1) AND statut = 1 ORDER BY entity DESC
2023-08-15 18:32:56 INFO 94.73.41.43 functions_dolibarr::check_user_password_dolibarr Authentification ok - hash auto of pass is ok
2023-08-15 18:32:56 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:32:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:32:56 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:32:56 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:32:56 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:32:56 INFO 94.73.41.43 This is a new started user session. _SESSION['dol_login']=oteimsa Session id=4b40eec05a195863499d1e8ab6ec4e26
2023-08-15 18:32:56 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:32:56 DEBUG 94.73.41.43 User::update_last_login_date user->id=1 UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-15 20:32:56', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-15 18:32:56 DEBUG 94.73.41.43 sql=UPDATE oe_user SET datepreviouslogin = datelastlogin, ippreviouslogin = iplastlogin, datelastlogin = '2023-08-15 20:32:56', iplastlogin = '94.73.41.43', tms = tms WHERE rowid = 1
2023-08-15 18:32:56 INFO 94.73.41.43 Trigger 'Logevents' for action 'USER_LOGIN' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_all_Logevents.class.php. id=1
2023-08-15 18:32:56 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:32:56 DEBUG 94.73.41.43 Events::create
2023-08-15 18:32:56 DEBUG 94.73.41.43 sql=INSERT INTO oe_events(type,entity,ip,user_agent,dateevent,fk_user,description,prefix_session) VALUES ( 'USER_LOGIN', 1, '94.73.41.43', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36', '2023-08-15 20:32:56', 1, '(UserLogged,oteimsa) - TZ=1;TZString=Europe/Madrid;Screen=1638x717', 'bf17d57516c5945381daa85775c7f3081e487488')
2023-08-15 18:32:57 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:32:57 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:32:57 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:32:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 18:32:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:32:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:32:57 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-15 18:32:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 18:32:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/core/js/lib_foot.js.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:32:57 INFO 94.73.41.43 --- End access to /admin/htdocs/core/js/lib_foot.js.php
2023-08-15 18:32:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:32:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:32:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:32:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:32:57 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_small.jpg entity=1
2023-08-15 18:32:57 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_small.jpg filename=ISO_small.jpg content-type=image/jpeg
2023-08-15 18:32:57 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:33:08 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:33:08 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:33:08 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/index.php - action=, massaction=
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:08 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 3 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.client, s.fournisseur FROM oe_societe as s WHERE s.entity IN (1)
2023-08-15 18:33:08 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=0
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta_fournisseur, s.code_compta, s.logo, s.entity, s.canvas, s.tms as date_modification, s.status as status FROM oe_societe as s WHERE s.entity IN (1) ORDER BY s.tms DESC LIMIT 15
2023-08-15 18:33:08 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/index.php
2023-08-15 18:33:08 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 18:33:08 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/theme/eldy/style.css.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:33:08 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:33:08 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:08 INFO 94.73.41.43 --- End access to /admin/htdocs/theme/eldy/style.css.php
2023-08-15 18:33:09 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:33:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:33:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/societe/card.php - action=create, massaction=
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT rowid, code, label, url, icon, active FROM oe_c_socialnetworks WHERE entity=1
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT rowid, code, label FROM oe_c_country WHERE rowid = 4
2023-08-15 18:33:09 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-15 18:33:09 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-15 18:33:09 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_client FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_client LIKE 'CU____-%' AND entity IN (1)
2023-08-15 18:33:09 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return CU2308-00008
2023-08-15 18:33:09 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-15 18:33:09 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-15 18:33:09 DEBUG 94.73.41.43 mod_codeclient_monkey::getNextValue
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(code_fournisseur FROM 8) AS SIGNED)) as max FROM oe_societe WHERE code_fournisseur LIKE 'SU____-%' AND entity IN (1)
2023-08-15 18:33:09 INFO 94.73.41.43 mod_codeclient_monkey::getNextValue return SU2308-00003
2023-08-15 18:33:09 DEBUG 94.73.41.43 Form::select_country
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT rowid, code as code_iso, code_iso as code_iso3, label, favorite, eec FROM oe_c_country WHERE active > 0
2023-08-15 18:33:09 DEBUG 94.73.41.43 FormCompany::select_departement selected=, country_codeid=ES
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT d.rowid, d.code_departement as code, d.nom as name, d.active, c.label as country, c.code as country_code, r.nom as region_name FROM oe_c_departements as d, oe_c_regions as r,oe_c_country as c WHERE d.fk_region=r.code_region and r.fk_pays=c.rowid AND d.active = 1 AND r.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code, d.code_departement
2023-08-15 18:33:09 DEBUG 94.73.41.43 FormCompany::select_departement num=52
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:33:09 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:33:09 DEBUG 94.73.41.43 FormCompany::effectif_array
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_effectif WHERE active = 1 ORDER BY id ASC
2023-08-15 18:33:09 DEBUG 94.73.41.43 FormCompany::select_juridicalstatus
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.code as code , f.libelle as label, f.active, c.label as country, c.code as country_code FROM oe_c_forme_juridique as f, oe_c_country as c WHERE f.fk_pays=c.rowid AND f.active = 1 AND c.active = 1 AND c.code = 'ES' ORDER BY c.code
2023-08-15 18:33:09 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:33:09 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:33:09 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:33:09 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:33:09 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:33:09 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 1
2023-08-15 18:33:09 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:33:09 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:33:09 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) ORDER BY nom ASC
2023-08-15 18:33:09 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:33:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) AND u.statut = 1 ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:33:09 INFO 94.73.41.43 --- End access to /admin/htdocs/societe/card.php
2023-08-15 18:33:10 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:33:10 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:33:10 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-07-16' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-31' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-08-15' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-08-15' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-30' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-09-14' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-08-15 18:33:10 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-07-16' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-31' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-08-15' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-08-15' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-30' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-09-14' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-08-15 18:33:10 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-08-15 18:33:10 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:33:10 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-08-15 18:33:10 DEBUG 94.73.41.43 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-08-15 18:33:10 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/index.php
2023-08-15 18:33:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:33:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:33:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:33:12 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 18:33:12 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 18:33:12 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:33:12 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 18:33:12 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:33:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:33:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:33:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:33:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:33:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:33:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:33:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:33:12 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 18:33:12 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:33:12 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:33:12 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:33:12 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:33:12 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:33:22 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:33:22 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:33:22 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:33:22 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.entity IN (1) AND f.ref = 'provisoire'
2023-08-15 18:33:22 WARNING 94.73.41.43 Facture::fetchInvoice with id= or ref=provisoire or ref_ext= not found
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:33:22 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2
2023-08-15 18:33:22 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 2 AND entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:33:22 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 2 ORDER BY f.ref
2023-08-15 18:33:22 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 2 ORDER BY f.ref
2023-08-15 18:33:22 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 18:33:22 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:33:22 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 18:33:22 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:33:22 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 18:33:22 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:33:22 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:33:22 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:33:22 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:33:22 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:33:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:33:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:33:45 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:33:45 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:33:45 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:33:45 INFO 94.73.41.43 Facture::create user=1 date=1677798000
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:33:45 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=INSERT INTO oe_facture ( ref, entity, ref_ext, type, fk_soc, datec, remise_absolue, remise_percent, datef, date_pointoftax, note_private, note_public, ref_client, fk_account, module_source, pos_source, fk_fac_rec_source, fk_facture_source, fk_user_author, fk_projet, fk_cond_reglement, fk_mode_reglement, date_lim_reglement, model_pdf, situation_cycle_ref, situation_counter, situation_final, fk_incoterms, location_incoterms, fk_multicurrency, multicurrency_code, multicurrency_tx, retained_warranty, retained_warranty_date_limit, retained_warranty_fk_cond_reglement) VALUES ('(PROV)', 1, null, '0', 2, '2023-08-15 20:33:45', NULL, NULL, '2023-03-03 00:00:00', null, null, null, null, 1, null, null, null, null, 1, null, 1, 2, '2023-03-04 00:00:00', 'crabe', null, null, 0, 0, '', 0, 'EUR', 1, 0, '2023-03-04 00:00:00', 0)
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='(PROV2)' WHERE rowid=2
2023-08-15 18:33:45 INFO 94.73.41.43 There is 0 lines that are array lines
2023-08-15 18:33:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:33:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:33:45 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 2
2023-08-15 18:33:46 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=2
2023-08-15 18:33:46 INFO 94.73.41.43 Trigger 'ContactRoles' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_90_modSociete_ContactRoles.class.php. id=2
2023-08-15 18:33:46 DEBUG 94.73.41.43 Contact::getContactRoles
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT sc.fk_socpeople as id, sc.fk_c_type_contact FROM oe_c_type_contact tc, oe_societe_contacts sc INNER JOIN oe_socpeople sp ON sc.fk_socpeople = sp.rowid AND sp.statut = 1 WHERE sc.fk_soc =2 AND sc.fk_c_type_contact=tc.rowid AND tc.element = 'facture' AND tc.active = 1
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 2
2023-08-15 18:33:46 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:33:46 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:33:46 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:33:46 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:33:46 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:33:46 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:33:46 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:33:46 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:33:46 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:33:46 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:33:46 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:33:46 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:33:46 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:33:46 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:33:46 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:33:46 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:33:46 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:33:46 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:33:46 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:33:46 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:33:46 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:33:46 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:33:46 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:33:46 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:33:46 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:33:46 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:33:46 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:33:46 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:33:46 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:34:15 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:34:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:34:15 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:34:15 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:34:15 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=1.57, qty=400, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Suministro de aislamiento…
2023-08-15 18:34:15 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:34:15 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:34:15 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:34:15 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:34:15 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:34:15 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 FactureLigne::insert rang=1
2023-08-15 18:34:15 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Suministro de aislamiento para superficies de interiores IMPACTODAN 5 medidas\r\n50,00x2,00)', 400, '', 21, 0, 0, '3', '5', null, 1, 0, 1.57, '', null, null, null, 0, 1, 0, null, 0, '0', 628, 131.88, 759.88, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 1.57, 628, 131.88, 759.88)
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:34:15 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:34:15 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 628, total_tva = 131.88, localtax1 = 0, localtax2 = 0, total_ttc = 759.88, multicurrency_total_ht = 628, multicurrency_total_tva = 131.88, multicurrency_total_ttc = 759.88 WHERE rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:34:15 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:34:15 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:34:15 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:34:15 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:34:15 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)
2023-08-15 18:34:15 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)' does not exists or is outside open_basedir PHP setting.
2023-08-15 18:34:15 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)' created
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:34:15 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:34:15 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:34:15 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:34:15 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:34:15 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:34:15 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:34:15 DEBUG 94.73.41.43 EcmFiles::create
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT MAX(position) as maxposition FROM oe_ecm_files WHERE filepath ='facture/(PROV2)'
2023-08-15 18:34:15 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=INSERT INTO oe_ecm_files(ref,label,share,entity,filename,filepath,fullpath_orig,description,keywords,cover,position,gen_or_uploaded,extraparams,date_c,tms,fk_user_c,fk_user_m,acl,src_object_type,src_object_id) VALUES ( '39d3fc169a4473ff45567420dae7b478', 'bea8b090047eee7bd94a8463b0d9944f', NULL, 1, '(PROV2).pdf', 'facture/(PROV2)', '', '', '', NULL, 1, 'generated', NULL, '2023-08-15 20:34:15', '2023-08-15 20:34:15', 1, NULL, NULL, 'facture', 2)
2023-08-15 18:34:15 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:34:15 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:34:15 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:34:15 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:34:15 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:34:15 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:34:15 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:34:15 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:34:16 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:34:16 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:34:16 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:34:16 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:34:16 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:34:16 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:34:16 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:34:16 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:34:16 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:34:16 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:34:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:34:16 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:34:16 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:34:16 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:34:16 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:34:16 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:34:16 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:34:16 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:34:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:34:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:34:16 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:34:16 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:34:16 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:34:16 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:37:11 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:37:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:37:11 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:37:11 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:37:11 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=1.91, qty=30, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Suministro de aislamiento…
2023-08-15 18:37:11 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:37:11 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:37:11 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:37:11 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:37:11 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:37:11 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 FactureLigne::insert rang=2
2023-08-15 18:37:11 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Suministro de aislamiento para superficies de interiores IMPACTODAN 5 medidas\r\n15,00x1,00)', 30, '', 21, 0, 0, '3', '5', null, 1, 0, 1.91, '', null, null, null, 0, 2, 0, null, 0, '0', 57.3, 12.03, 69.33, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 1.91, 57.3, 12.03, 69.33)
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:37:11 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:37:11 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:37:11 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:37:11 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 685.3, total_tva = 143.91, localtax1 = 0, localtax2 = 0, total_ttc = 829.21, multicurrency_total_ht = 685.3, multicurrency_total_tva = 143.91, multicurrency_total_ttc = 829.21 WHERE rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:11 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:37:11 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:37:11 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:37:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:37:11 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:37:11 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:37:11 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:37:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:37:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:37:11 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:37:11 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:37:11 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:37:11 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:37:11 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = '9fbf3d8b279ae517f69dd6f313cba591', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:37:11 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:37:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:37:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:37:11 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:37:11 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:37:11 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:37:11 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:37:11 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:37:12 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:37:12 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:37:12 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:37:12 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:37:12 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:37:12 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:37:12 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:37:12 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:37:12 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:37:12 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:37:12 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:37:12 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:37:12 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:37:12 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:12 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:37:12 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:37:12 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:37:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:37:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:37:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:37:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:37:12 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:37:12 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:37:12 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:37:33 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:37:33 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:37:33 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:37:33 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:37:33 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=9.52, qty=187.5, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Suministro de aislamiento…
2023-08-15 18:37:33 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:37:33 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:37:33 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:37:33 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:37:33 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:37:33 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 FactureLigne::insert rang=3
2023-08-15 18:37:33 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Suministro de aislamiento térmico mediante placas rígidas de poliestireno extruido.\r\n“DANOPREN TR 80”.', 187.5, '', 21, 0, 0, '3', '5', null, 1, 0, 9.52, '', null, null, null, 0, 3, 0, null, 0, '0', 1785, 374.85, 2159.85, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 9.52, 1785, 374.85, 2159.85)
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:37:33 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:37:33 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:37:33 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:37:33 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:37:33 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:37:33 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 2470.3, total_tva = 518.76, localtax1 = 0, localtax2 = 0, total_ttc = 2989.06, multicurrency_total_ht = 2470.3, multicurrency_total_tva = 518.76, multicurrency_total_ttc = 2989.06 WHERE rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:33 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:37:33 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:37:33 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:37:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:37:33 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:37:33 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:37:33 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:37:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:37:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:37:33 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:37:33 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:37:33 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:37:33 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:37:33 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = 'aea8c06485ae0edd696342f47912809e', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:37:33 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:37:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:37:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:37:33 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:37:33 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:37:33 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:37:33 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:37:34 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:37:34 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:37:34 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:37:34 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:37:34 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:37:34 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:37:34 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:37:34 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:37:34 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:37:34 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:37:34 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:37:34 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:37:34 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:37:34 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:37:34 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:37:34 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:37:34 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:37:34 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:37:34 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:37:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:37:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:37:34 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:37:34 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:37:34 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:37:34 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:38:05 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:05 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:38:05 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:05 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=4.86, qty=184.95, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Suministro de aislamiento…
2023-08-15 18:38:05 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:38:05 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:38:05 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:05 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=4.86 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86 qty=184.95 price_base_type=HT total_ht=898.86-total_vat=188.76-total_ttc=1087.62
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 FactureLigne::insert rang=4
2023-08-15 18:38:05 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Suministro de aislamiento térmico mediante placas rígidas de poliestireno extruido.\r\n“DANOPREN TR 40”.', 184.95, '', 21, 0, 0, '3', '5', null, 1, 0, 4.86, '', null, null, null, 0, 4, 0, null, 0, '0', 898.86, 188.76, 1087.62, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 4.86, 898.86, 188.76, 1087.62)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:38:05 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=184.95 price_base_type=HT total_ht=898.86-total_vat=188.76-total_ttc=1087.62
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 3369.16, total_tva = 707.52, localtax1 = 0, localtax2 = 0, total_ttc = 4076.68, multicurrency_total_ht = 3369.16, multicurrency_total_tva = 707.52, multicurrency_total_ttc = 4076.68 WHERE rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:05 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:38:05 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:38:05 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:38:05 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:05 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:38:05 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:05 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:38:05 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:38:05 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:38:05 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = 'c6dfd12794dcb2ba7df1dbb999677d7c', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:38:05 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:38:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:38:05 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:38:05 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:05 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:38:05 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:38:05 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:38:05 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:38:05 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:38:05 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:38:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:38:05 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:38:05 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:05 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:05 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:38:05 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:38:05 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:38:05 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:38:06 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:06 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:06 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:06 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:06 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:06 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:06 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:06 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:38:06 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:38:06 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:38:06 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:38:18 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:18 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:18 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:18 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:18 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:18 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:18 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:18 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:18 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=editline, massaction=
2023-08-15 18:38:18 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:38:18 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:19 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:38:19 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:19 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:19 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:19 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:38:19 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:38:19 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:38:19 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:19 INFO 94.73.41.43 DolEditor::DolEditor htmlname=product_desc width= height=164 toolbarname=dolibarr_details
2023-08-15 18:38:19 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:38:19 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:38:19 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:38:19 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:19 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:19 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:38:19 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:38:19 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:38:19 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:38:19 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:19 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:19 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:38:19 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:38:19 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:38:19 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:38:19 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:19 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:19 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/fourn/ajax/getSupplierPrices.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:38:19 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:38:19 INFO 94.73.41.43 --- End access to /admin/htdocs/fourn/ajax/getSupplierPrices.php
2023-08-15 18:38:34 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:34 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:34 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=updateline, massaction=
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:38:34 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:34 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT fd.rowid, fd.fk_facture, fd.fk_parent_line, fd.fk_product, fd.product_type, fd.label as custom_label, fd.description, fd.price, fd.qty, fd.vat_src_code, fd.tva_tx, fd.localtax1_tx, fd. localtax2_tx, fd.remise, fd.remise_percent, fd.fk_remise_except, fd.subprice, fd.ref_ext, fd.date_start as date_start, fd.date_end as date_end, fd.fk_product_fournisseur_price as fk_fournprice, fd.buy_price_ht as pa_ht, fd.info_bits, fd.special_code, fd.total_ht, fd.total_tva, fd.total_ttc, fd.total_localtax1, fd.total_localtax2, fd.rang, fd.fk_code_ventilation, fd.fk_unit, fd.fk_user_author, fd.fk_user_modif, fd.situation_percent, fd.fk_prev_id, fd.multicurrency_subprice, fd.multicurrency_total_ht, fd.multicurrency_total_tva, fd.multicurrency_total_ttc, p.ref as product_ref, p.label as product_label, p.description as product_desc FROM oe_facturedet as fd LEFT JOIN oe_product as p ON fd.fk_product = p.rowid WHERE fd.rowid = 5
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::updateline rowid=5, desc=Suministro de aislamiento térmico mediante placas rígidas de poliestireno extruido.
“DANOPREN TR 40”., pu=4.86, qty=184.95, remise_percent=, date_start=, date_end=, txtva=21, txlocaltax1=0, txlocaltax2=0, price_base_type=HT, info_bits=0, type=1, fk_parent_line= pa_ht=0.00, special_code=0, fk_unit=, pu_ht_devise=
2023-08-15 18:38:34 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:38:34 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:38:34 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:34 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:34 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=4.86 remise_percent_ligne= txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:38:34 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86 qty=184.95 price_base_type=HT total_ht=898.86-total_vat=188.76-total_ttc=1087.62
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT fd.rowid, fd.fk_facture, fd.fk_parent_line, fd.fk_product, fd.product_type, fd.label as custom_label, fd.description, fd.price, fd.qty, fd.vat_src_code, fd.tva_tx, fd.localtax1_tx, fd. localtax2_tx, fd.remise, fd.remise_percent, fd.fk_remise_except, fd.subprice, fd.ref_ext, fd.date_start as date_start, fd.date_end as date_end, fd.fk_product_fournisseur_price as fk_fournprice, fd.buy_price_ht as pa_ht, fd.info_bits, fd.special_code, fd.total_ht, fd.total_tva, fd.total_ttc, fd.total_localtax1, fd.total_localtax2, fd.rang, fd.fk_code_ventilation, fd.fk_unit, fd.fk_user_author, fd.fk_user_modif, fd.situation_percent, fd.fk_prev_id, fd.multicurrency_subprice, fd.multicurrency_total_ht, fd.multicurrency_total_tva, fd.multicurrency_total_ttc, p.ref as product_ref, p.label as product_label, p.description as product_desc FROM oe_facturedet as fd LEFT JOIN oe_product as p ON fd.fk_product = p.rowid WHERE fd.rowid = 5
2023-08-15 18:38:34 DEBUG 94.73.41.43 FactureLigne::update
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=UPDATE oe_facturedet SET description='Suministro de aislamiento térmico mediante placas rígidas de poliestireno extruido.\r\n“DANOPREN TR 40”.', ref_ext='', label=null, subprice=4.86, remise_percent=0, fk_remise_except=null, vat_src_code = '', tva_tx=21, localtax1_tx=0, localtax2_tx=0, localtax1_type='3', localtax2_type='5', qty=184.95, date_start=null, date_end=null, product_type=1, info_bits='0', special_code='0', total_ht=898.86, total_tva=188.76, total_ttc=1087.62, total_localtax1=0, total_localtax2=0, fk_product_fournisseur_price=null, buy_price_ht=0, fk_parent_line=null, situation_percent = 100, fk_unit = NULL, fk_user_modif = 1, multicurrency_subprice=4.86, multicurrency_total_ht=898.86, multicurrency_total_tva=188.76, multicurrency_total_ttc=1087.62 WHERE rowid = 5
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 3369.16, total_tva = 707.52, localtax1 = 0, localtax2 = 0, total_ttc = 4076.68, multicurrency_total_ht = 3369.16, multicurrency_total_tva = 707.52, multicurrency_total_ttc = 4076.68 WHERE rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:34 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:38:34 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:38:34 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:34 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:38:34 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:34 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:38:34 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:38:34 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:34 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:34 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:38:34 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:38:34 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:38:34 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:38:34 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = '8dea866c48221bd419818e3ade29a4b2', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:38:34 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:34 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:34 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:34 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:38:34 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:38:34 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:38:34 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:38:34 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:38:34 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:34 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:35 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:38:35 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:38:35 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:38:35 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:38:35 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:38:35 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:38:35 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:38:35 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:38:35 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:35 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:35 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:38:35 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:38:35 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:38:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:35 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:38:35 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:38:35 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:38:35 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:38:48 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:48 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:48 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=editline, massaction=
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:48 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:48 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:48 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:38:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:38:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:48 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:48 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:38:48 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:48 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:38:48 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:38:48 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:38:48 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:38:48 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:38:48 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:38:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:49 INFO 94.73.41.43 DolEditor::DolEditor htmlname=product_desc width= height=164 toolbarname=dolibarr_details
2023-08-15 18:38:49 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:38:49 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:38:49 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:38:49 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:49 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:49 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:38:49 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:38:49 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:38:49 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:38:49 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:49 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:49 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:38:49 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:38:49 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:38:49 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:38:49 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:49 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:49 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/fourn/ajax/getSupplierPrices.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:38:49 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:38:49 INFO 94.73.41.43 --- End access to /admin/htdocs/fourn/ajax/getSupplierPrices.php
2023-08-15 18:38:53 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:53 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:53 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=updateline, massaction=
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:53 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:53 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:38:53 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:53 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT fd.rowid, fd.fk_facture, fd.fk_parent_line, fd.fk_product, fd.product_type, fd.label as custom_label, fd.description, fd.price, fd.qty, fd.vat_src_code, fd.tva_tx, fd.localtax1_tx, fd. localtax2_tx, fd.remise, fd.remise_percent, fd.fk_remise_except, fd.subprice, fd.ref_ext, fd.date_start as date_start, fd.date_end as date_end, fd.fk_product_fournisseur_price as fk_fournprice, fd.buy_price_ht as pa_ht, fd.info_bits, fd.special_code, fd.total_ht, fd.total_tva, fd.total_ttc, fd.total_localtax1, fd.total_localtax2, fd.rang, fd.fk_code_ventilation, fd.fk_unit, fd.fk_user_author, fd.fk_user_modif, fd.situation_percent, fd.fk_prev_id, fd.multicurrency_subprice, fd.multicurrency_total_ht, fd.multicurrency_total_tva, fd.multicurrency_total_ttc, p.ref as product_ref, p.label as product_label, p.description as product_desc FROM oe_facturedet as fd LEFT JOIN oe_product as p ON fd.fk_product = p.rowid WHERE fd.rowid = 5
2023-08-15 18:38:53 DEBUG 94.73.41.43 Facture::updateline rowid=5, desc=Suministro de aislamiento térmico mediante placas rígidas de poliestireno extruido.
“DANOPREN TR 40”., pu=4.86, qty=187.5, remise_percent=, date_start=, date_end=, txtva=21, txlocaltax1=0, txlocaltax2=0, price_base_type=HT, info_bits=0, type=1, fk_parent_line= pa_ht=0.00, special_code=0, fk_unit=, pu_ht_devise=
2023-08-15 18:38:53 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:38:53 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:38:53 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:53 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:38:53 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86 remise_percent_ligne= txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:38:53 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=SELECT fd.rowid, fd.fk_facture, fd.fk_parent_line, fd.fk_product, fd.product_type, fd.label as custom_label, fd.description, fd.price, fd.qty, fd.vat_src_code, fd.tva_tx, fd.localtax1_tx, fd. localtax2_tx, fd.remise, fd.remise_percent, fd.fk_remise_except, fd.subprice, fd.ref_ext, fd.date_start as date_start, fd.date_end as date_end, fd.fk_product_fournisseur_price as fk_fournprice, fd.buy_price_ht as pa_ht, fd.info_bits, fd.special_code, fd.total_ht, fd.total_tva, fd.total_ttc, fd.total_localtax1, fd.total_localtax2, fd.rang, fd.fk_code_ventilation, fd.fk_unit, fd.fk_user_author, fd.fk_user_modif, fd.situation_percent, fd.fk_prev_id, fd.multicurrency_subprice, fd.multicurrency_total_ht, fd.multicurrency_total_tva, fd.multicurrency_total_ttc, p.ref as product_ref, p.label as product_label, p.description as product_desc FROM oe_facturedet as fd LEFT JOIN oe_product as p ON fd.fk_product = p.rowid WHERE fd.rowid = 5
2023-08-15 18:38:53 DEBUG 94.73.41.43 FactureLigne::update
2023-08-15 18:38:53 DEBUG 94.73.41.43 sql=UPDATE oe_facturedet SET description='Suministro de aislamiento térmico mediante placas rígidas de poliestireno extruido.\r\n“DANOPREN TR 40”.', ref_ext='', label=null, subprice=4.86, remise_percent=0, fk_remise_except=null, vat_src_code = '', tva_tx=21, localtax1_tx=0, localtax2_tx=0, localtax1_type='3', localtax2_type='5', qty=187.5, date_start=null, date_end=null, product_type=1, info_bits='0', special_code='0', total_ht=911.25, total_tva=191.36, total_ttc=1102.61, total_localtax1=0, total_localtax2=0, fk_product_fournisseur_price=null, buy_price_ht=0, fk_parent_line=null, situation_percent = 100, fk_unit = NULL, fk_user_modif = 1, multicurrency_subprice=4.86, multicurrency_total_ht=911.25, multicurrency_total_tva=191.36, multicurrency_total_ttc=1102.61 WHERE rowid = 5
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 3381.55, total_tva = 710.12, localtax1 = 0, localtax2 = 0, total_ttc = 4091.67, multicurrency_total_ht = 3381.55, multicurrency_total_tva = 710.12, multicurrency_total_ttc = 4091.67 WHERE rowid = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:54 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:38:54 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:38:54 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:38:54 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:54 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:38:54 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:54 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:38:54 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:38:54 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:38:54 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:38:54 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = 'd7e6f556b7d49ef0b8dd3fed6bc88aa1', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:38:54 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:38:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:38:54 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:38:54 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:38:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:38:54 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:38:54 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:38:54 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:38:54 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:38:54 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:38:54 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:38:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:38:54 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:38:54 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:38:54 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:38:54 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:38:54 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:38:54 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:38:54 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:38:55 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:38:55 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:38:55 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:38:55 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:38:55 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:38:55 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:38:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:38:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:38:55 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:38:55 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:38:55 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:38:55 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:39:23 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:39:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:39:23 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:39:23 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:39:23 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:39:23 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:39:23 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:39:23 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:39:23 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:39:23 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=14.9, qty=184.95, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Impermeabilización de cub…
2023-08-15 18:39:23 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:39:23 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:39:23 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:39:23 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:39:23 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.9 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:23 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.9 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:39:23 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:39:23 DEBUG 94.73.41.43 FactureLigne::insert rang=5
2023-08-15 18:39:23 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:39:23 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Impermeabilización de cubierta plana transitable, mediante sistema bituminoso\r\nbicapa Adherido, compuesto por:\r\n• Imprimación de la zona a impermeabilizar, mediante “CURIDAN”, emulsión\r\nasfáltica de base acuosa, en aquellas zonas que sean necesarias.\r\n• Lámina de betún elastómero SBS, tipo “LBM-40-FV”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de fibra de vidrio, “GLASDAN 30 P\r\nELAST” o similar, no adherida al soporte.\r\n• Lámina de betún elastómero SBS, tipo “LBM-40-FP”, con un peso medio de\r\n4,- kg/m2., con armadura de fieltro de poliéster no tejido, “ESTERDAN 40 P\r\nELAST” o similar, adherida completamente a la anterior mediante soplete.\r\n• Suministro y colocación de capa de separación Geotextil con un peso\r\naproximado 200 gr/m2 “DANOFELT PY 200” o similar\r\nCubierta .... 148,75 m2\r\nTerraza 1 ... 19,38 m2\r\nTerraza 2 ... 16,82 m2', 184.95, '', 21, 0, 0, '3', '5', null, 1, 0, 14.9, '', null, null, null, 0, 5, 0, null, 0, '0', 2755.76, 578.7, 3334.46, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 14.9, 2755.76, 578.7, 3334.46)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:24 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 6137.31, total_tva = 1288.82, localtax1 = 0, localtax2 = 0, total_ttc = 7426.13, multicurrency_total_ht = 6137.31, multicurrency_total_tva = 1288.82, multicurrency_total_ttc = 7426.13 WHERE rowid = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:24 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:39:24 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:39:24 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:39:24 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:39:24 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:39:24 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:39:24 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:39:24 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:39:24 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:39:24 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:39:24 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = '7f8f366d1ed5cb5653c1230e2fcf6af2', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:39:24 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:39:24 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:39:24 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:39:24 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:39:24 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:39:24 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:39:24 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:39:24 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:39:24 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:39:24 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:39:24 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:39:24 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:39:24 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:24 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:39:24 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:39:24 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:39:24 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:39:24 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:39:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:39:24 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:39:25 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:39:25 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:39:25 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:39:48 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:39:48 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:39:48 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:39:48 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:39:48 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=7.75, qty=123.2, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Remate perimetral de la i…
2023-08-15 18:39:48 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:39:48 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:39:48 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:39:48 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 FactureLigne::insert rang=6
2023-08-15 18:39:48 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Remate perimetral de la impermeabilización de cubierta, mediante sistema\r\nbituminoso bicapa adherido autoprotegida, con un desarrollo máximo de 30 cm.,\r\ncompuesto por:\r\n• Imprimación de la zona a impermeabilizar, mediante “CURIDAN”, emulsión\r\nasfáltica de base acuosa, en aquellas zonas que sean necesarias.\r\n• Lámina de betún elastómero SBS, tipo “LBM-30-FV”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de fibra de vidrio, “GLASDAN 30 P\r\nELAST” o similar, adherida completamente al soporte mediante soplete.\r\n• Lámina de betún elastómero SBS, tipo “LBM-30-FP”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de poliéster no tejido, “ESTERDAN 30 P\r\nELAST” o similar, adherida completamente a la anterior mediante soplete.\r\nCubierta .... 86,40 ml\r\nTerraza 1 ... 19,30 ml\r\nTerraza 2 ... 17,50 ml', 123.2, '', 21, 0, 0, '3', '5', null, 1, 0, 7.75, '', null, null, null, 0, 6, 0, null, 0, '0', 954.8, 200.51, 1155.31, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 7.75, 954.8, 200.51, 1155.31)
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:39:48 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 7092.11, total_tva = 1489.33, localtax1 = 0, localtax2 = 0, total_ttc = 8581.44, multicurrency_total_ht = 7092.11, multicurrency_total_tva = 1489.33, multicurrency_total_ttc = 8581.44 WHERE rowid = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:48 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:39:48 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:39:48 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:39:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:39:48 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:39:48 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:39:48 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:39:48 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:39:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:39:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:39:48 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:39:48 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:39:48 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:39:48 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:39:48 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = '623e96ce9b91aff33bb38e7475c2b8e7', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:39:48 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:39:49 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:39:49 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:39:49 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:39:49 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:39:49 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:39:49 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:39:49 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:39:49 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:39:49 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:39:49 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:39:49 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:39:49 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:39:49 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:39:49 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:39:49 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:39:49 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:39:49 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:39:49 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:39:49 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:39:49 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:39:49 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:39:49 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:39:49 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:39:49 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:39:49 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:39:49 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:39:49 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:39:49 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:39:49 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:39:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:39:49 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:39:49 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:39:49 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:39:49 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:41:09 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:41:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:41:09 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:41:09 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:41:09 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=7, qty=22, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Colocación de sumidero sa…
2023-08-15 18:41:09 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:41:09 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:41:09 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:41:09 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 FactureLigne::insert rang=7
2023-08-15 18:41:09 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Colocación de sumidero salida vertical, compatibles con los materiales utilizados\r\npara la impermeabilización de la cubierta, con una dimensión adecuada para la\r\ncorrecta evacuación del agua.', 22, '', 21, 0, 0, '3', '5', null, 1, 0, 7, '', null, null, null, 0, 7, 0, null, 0, '0', 154, 32.34, 186.34, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 7, 154, 32.34, 186.34)
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:09 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.00000000 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 7246.11, total_tva = 1521.67, localtax1 = 0, localtax2 = 0, total_ttc = 8767.78, multicurrency_total_ht = 7246.11, multicurrency_total_tva = 1521.67, multicurrency_total_ttc = 8767.78 WHERE rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:09 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:41:09 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:41:09 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:41:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:41:09 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:41:09 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:41:09 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:41:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:41:09 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:41:09 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:41:09 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:41:09 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = '15fec75ac6c3722db54669fe24c4b628', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:41:09 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:41:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:41:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:41:09 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:41:09 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:41:09 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:41:09 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:41:09 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:41:10 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:41:10 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:41:10 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:41:10 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:41:10 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:41:10 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:41:10 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:41:10 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:41:10 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:41:10 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:41:10 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:41:10 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:41:10 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:41:10 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:10 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:41:10 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:41:10 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:41:10 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:41:10 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:41:10 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:41:10 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:41:10 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:41:10 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:41:10 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:41:37 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:41:37 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:41:37 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:41:37 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:41:37 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=1, qty=675, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Impermeabilización de fos…
2023-08-15 18:41:37 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:41:37 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:41:37 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:41:37 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=675 pu=1 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1 qty=675 price_base_type=HT total_ht=675-total_vat=141.75-total_ttc=816.75
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:41:37 DEBUG 94.73.41.43 FactureLigne::insert rang=8
2023-08-15 18:41:37 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Impermeabilización de foso de ascensor de 1,60 x 1,80 x 1,30, compuesto por:\r\n• Preparación y limpieza del soporte mediante el barrido y/o aspirado de la\r\nsuperficie a tratar, incluso eliminación de escombros generados sobre\r\ncontenedor de obra.\r\n• Primera capa de “SIKA TOP SEAL 107”, mortero impermeabilizante de dos\r\ncomponentes, a base de una mezcla de cementos que incorpora aditivos\r\nespeciales y polímeros modificados, aplicado con llana, espesor medio\r\naproximado de 1-1,5- mm.\r\n• Colocación de malla de fibra de vidrio antialcalina “ARMATOP”.\r\n• Capa final hasta cubrición de malla mediante “SIKA TOP SEAL 107”,\r\nmortero impermeabilizante de dos componentes, a base de una mezclad e\r\ncementos que incorpora aditivos especiales y polímeros modificados, aplicado\r\ncon llana dentada, espesor medio aproximado de 1-1,5,- mm.', 675, '', 21, 0, 0, '3', '5', null, 1, 0, 1, '', null, null, null, 0, 8, 0, null, 0, '0', 675, 141.75, 816.75, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 1, 675, 141.75, 816.75)
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.00000000 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total qty=675 pu=1.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:41:37 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.00000000 qty=675 price_base_type=HT total_ht=675-total_vat=141.75-total_ttc=816.75
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 7921.11, total_tva = 1663.42, localtax1 = 0, localtax2 = 0, total_ttc = 9584.53, multicurrency_total_ht = 7921.11, multicurrency_total_tva = 1663.42, multicurrency_total_ttc = 9584.53 WHERE rowid = 2
2023-08-15 18:41:37 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:37 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:41:37 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:41:37 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:41:37 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:41:37 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:41:37 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:41:37 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:41:37 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:41:37 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:41:37 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:41:37 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:41:37 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:41:37 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:41:37 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:41:38 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:41:38 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:41:38 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = 'de81b76b5de4451653289a5837f10243', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:41:38 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:41:38 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:41:38 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:41:38 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:41:38 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:41:38 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:41:38 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:41:38 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:41:38 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:41:38 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:41:38 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:41:38 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:41:38 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:41:38 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:41:38 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:41:38 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:41:38 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:41:38 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:41:38 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:41:38 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:41:38 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:41:38 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:41:38 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:41:38 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:41:38 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:41:38 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:41:38 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:41:38 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:41:38 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:41:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:41:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:41:38 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:41:38 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:41:38 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:41:38 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:42:03 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:42:03 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:42:03 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:42:03 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:42:03 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:42:03 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:42:03 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:42:03 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:42:03 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:42:03 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=101.77, qty=13.8, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Impermeabilización de cub…
2023-08-15 18:42:03 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:42:03 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:42:03 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:42:03 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=13.8 pu=101.77 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=101.77 qty=13.8 price_base_type=HT total_ht=1404.43-total_vat=294.93-total_ttc=1699.36
2023-08-15 18:42:03 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:42:03 DEBUG 94.73.41.43 FactureLigne::insert rang=9
2023-08-15 18:42:03 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Impermeabilización de cubierta plana transitable, mediante sistema bituminoso\r\nbicapa Adherido, compuesto por:\r\n• Imprimación de la zona a impermeabilizar, mediante “CURIDAN”, emulsión\r\nasfáltica de base acuosa, en aquellas zonas que sean necesarias.\r\n• Lámina de betún elastómero SBS, tipo “LBM-40-FV”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de fibra de vidrio, “GLASDAN 30 P\r\nELAST” o similar, no adherida al soporte.\r\n• Lámina de betún elastómero SBS, tipo “LBM-30-FP”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de poliéster no tejido, “ESTERDAN 30 P\r\nELAST” o similar, adherida completamente a la anterior mediante soplete.\r\n• Suministro y colocación de capa de separación Geotextil con un peso\r\naproximado 200 gr/m2 “DANOFELT PY 200” o similar\r\nPlanta baja 1a fase .... 89,39 m2\r\nTerraza 1a Planta ... 5,00 m2\r\nTerraza 1a Planta ... 3,78 m2\r\nTerraza 3a Planta ... 3,60 m2', 13.8, '', 21, 0, 0, '3', '5', null, 1, 0, 101.77, '', null, null, null, 0, 9, 0, null, 0, '0', 1404.43, 294.93, 1699.36, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 101.77, 1404.43, 294.93, 1699.36)
2023-08-15 18:42:03 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:42:03 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.00000000 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=675 pu=1.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.00000000 qty=675 price_base_type=HT total_ht=675-total_vat=141.75-total_ttc=816.75
2023-08-15 18:42:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=13.8 pu=101.77000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:04 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=101.77000000 qty=13.8 price_base_type=HT total_ht=1404.43-total_vat=294.93-total_ttc=1699.36
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 9325.54, total_tva = 1958.35, localtax1 = 0, localtax2 = 0, total_ttc = 11283.89, multicurrency_total_ht = 9325.54, multicurrency_total_tva = 1958.35, multicurrency_total_ttc = 11283.89 WHERE rowid = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:04 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:42:04 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:42:04 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:42:04 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:42:04 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:42:04 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:42:04 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:42:04 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:42:04 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:42:04 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:42:04 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = 'e4d4c6ae5b4be671993140cf801f0a47', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:42:04 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:42:04 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:42:04 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:42:04 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:42:04 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:42:04 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:42:04 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:42:04 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:42:04 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:42:04 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:42:04 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:42:04 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:42:04 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:04 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:42:04 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:42:04 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:42:04 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:42:04 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:42:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:42:04 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:42:04 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:42:04 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:42:04 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:42:28 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:42:28 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:42:28 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:42:28 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:42:28 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:42:28 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:42:28 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:42:28 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:42:28 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:42:28 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=85.33, qty=7.75, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Remate perimetral de la i…
2023-08-15 18:42:28 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:42:28 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:42:28 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:42:28 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:42:28 INFO 94.73.41.43 Price.lib::calcul_price_total qty=7.75 pu=85.33 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:28 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=85.33 qty=7.75 price_base_type=HT total_ht=661.31-total_vat=138.87-total_ttc=800.18
2023-08-15 18:42:28 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:42:28 DEBUG 94.73.41.43 FactureLigne::insert rang=10
2023-08-15 18:42:28 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:42:28 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Remate perimetral de la impermeabilización de cubierta, mediante sistema\r\nbituminoso bicapa adherido autoprotegida, con un desarrollo máximo de 30 cm.,\r\ncompuesto por:\r\n• Imprimación de la zona a impermeabilizar, mediante “CURIDAN”, emulsión\r\nasfáltica de base acuosa, en aquellas zonas que sean necesarias.\r\n• Lámina de betún elastómero SBS, tipo “LBM-30-FV”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de fibra de vidrio, “GLASDAN 30 P\r\nELAST” o similar, adherida completamente al soporte mediante soplete.\r\n• Lámina de betún elastómero SBS, tipo “LBM-30-FP”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de poliéster no tejido, “ESTERDAN 30 P\r\nELAST” o similar, adherida completamente a la anterior mediante soplete.\r\nPlanta baja 1a fase .... 74,43 ml\r\nTerraza 1a Planta ... 5,00 ml\r\nTerraza 1a Planta ... 3,90 ml\r\nTerraza 3a Planta ... 2,00 ml', 7.75, '', 21, 0, 0, '3', '5', null, 1, 0, 85.33, '', null, null, null, 0, 10, 0, null, 0, '0', 661.31, 138.87, 800.18, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 85.33, 661.31, 138.87, 800.18)
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.00000000 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=675 pu=1.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.00000000 qty=675 price_base_type=HT total_ht=675-total_vat=141.75-total_ttc=816.75
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=13.8 pu=101.77000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=101.77000000 qty=13.8 price_base_type=HT total_ht=1404.43-total_vat=294.93-total_ttc=1699.36
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total qty=7.75 pu=85.33000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:42:29 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=85.33000000 qty=7.75 price_base_type=HT total_ht=661.31-total_vat=138.87-total_ttc=800.18
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 9986.85, total_tva = 2097.22, localtax1 = 0, localtax2 = 0, total_ttc = 12084.07, multicurrency_total_ht = 9986.85, multicurrency_total_tva = 2097.22, multicurrency_total_ttc = 12084.07 WHERE rowid = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:29 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:42:29 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:42:29 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:42:29 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:42:29 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:42:29 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:42:29 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:42:29 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:42:29 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:42:29 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:42:29 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:42:29 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:42:29 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:42:29 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = 'cb3aaa94bc193d1f7d04911651d9de16', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:42:29 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:42:29 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:42:29 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:42:29 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:42:29 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:42:29 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:42:29 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:42:29 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:42:31 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:42:31 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:42:31 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:42:31 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:42:31 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:42:31 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:42:31 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:42:31 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:42:31 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:42:31 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:42:31 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:42:31 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:42:31 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:42:31 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:42:31 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:42:31 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:42:31 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:42:31 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:42:32 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:42:32 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:42:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:42:32 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:42:32 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:42:32 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:42:32 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:42:32 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:42:32 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:42:32 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:42:32 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:42:32 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:43:02 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:43:02 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:43:02 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:02 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:02 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:02 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:02 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:43:02 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:02 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:02 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=22, qty=1, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Colocación de sumidero sa…
2023-08-15 18:43:02 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:43:02 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:43:02 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:02 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=22 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=22 qty=1 price_base_type=HT total_ht=22-total_vat=4.62-total_ttc=26.62
2023-08-15 18:43:02 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:43:02 DEBUG 94.73.41.43 FactureLigne::insert rang=11
2023-08-15 18:43:02 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Colocación de sumidero salida vertical, compatibles con los materiales\r\nutilizados para la impermeabilización de la cubierta, con una dimensión\r\nadecuada para la correcta evacuación del agua.', 1, '', 21, 0, 0, '3', '5', null, 1, 0, 22, '', null, null, null, 0, 11, 0, null, 0, '0', 22, 4.62, 26.62, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 22, 22, 4.62, 26.62)
2023-08-15 18:43:02 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:43:02 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:43:02 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.00000000 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=675 pu=1.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.00000000 qty=675 price_base_type=HT total_ht=675-total_vat=141.75-total_ttc=816.75
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=13.8 pu=101.77000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=101.77000000 qty=13.8 price_base_type=HT total_ht=1404.43-total_vat=294.93-total_ttc=1699.36
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=7.75 pu=85.33000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=85.33000000 qty=7.75 price_base_type=HT total_ht=661.31-total_vat=138.87-total_ttc=800.18
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=22.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:03 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=22.00000000 qty=1 price_base_type=HT total_ht=22-total_vat=4.62-total_ttc=26.62
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 10008.85, total_tva = 2101.84, localtax1 = 0, localtax2 = 0, total_ttc = 12110.69, multicurrency_total_ht = 10008.85, multicurrency_total_tva = 2101.84, multicurrency_total_ttc = 12110.69 WHERE rowid = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:03 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:43:03 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:43:03 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:43:03 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:03 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:43:03 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:43:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:03 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:43:03 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:43:03 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:43:03 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:43:03 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = '8d79c973a266af772638f1c1652cb039', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:43:03 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:43:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:03 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:43:03 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:43:03 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:43:03 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:43:03 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:43:04 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:43:04 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:43:04 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:43:04 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:04 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:43:04 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:43:04 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:43:04 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:43:04 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:43:04 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:43:04 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:43:04 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:43:04 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:43:04 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:04 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:43:04 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:43:04 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:43:04 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:43:04 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:43:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:43:04 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:43:04 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:43:04 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:43:04 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:43:31 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:43:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:43:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:43:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:43:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:43:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:43:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:43:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:43:31 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:43:31 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:43:31 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:43:32 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:32 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=20.75, qty=54.18, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Impermeabilización de cub…
2023-08-15 18:43:32 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:43:32 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:43:32 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:32 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=54.18 pu=20.75 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=20.75 qty=54.18 price_base_type=HT total_ht=1124.24-total_vat=236.08-total_ttc=1360.32
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:43:32 DEBUG 94.73.41.43 FactureLigne::insert rang=12
2023-08-15 18:43:32 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Impermeabilización de cubierta plana transitable ajardinada, mediante sistema\r\nbituminoso bicapa Adherido, compuesto por:\r\n• Imprimación de la zona a impermeabilizar, mediante “CURIDAN”, emulsión\r\nasfáltica de base acuosa, en aquellas zonas que sean necesarias.\r\n• Lámina de betún elastómero SBS, tipo “LBM-40-FV”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de fibra de vidrio, “GLASDAN 30 P\r\nELAST” o similar, no adherida al soporte.\r\n• Lámina de betún elastómero SBS, tipo “LBM-50/G-FP ELAST VERDE\r\nJARDÍN”, con un peso medio de 5,- kg/m2., con armadura de fieltro de\r\npoliéster reforzado, “ESTERDAN PLUS 50/GP ELAST VERDE JARDÍN” o\r\nsimilar, adherida completamente a la anterior mediante soplete.\r\n• Drenaje de muro mediante “DANODREN JARDÍN”, o similar.', 54.18, '', 21, 0, 0, '3', '5', null, 1, 0, 20.75, '', null, null, null, 0, 12, 0, null, 0, '0', 1124.24, 236.08, 1360.32, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 20.75, 1124.24, 236.08, 1360.32)
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.00000000 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=675 pu=1.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.00000000 qty=675 price_base_type=HT total_ht=675-total_vat=141.75-total_ttc=816.75
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=13.8 pu=101.77000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=101.77000000 qty=13.8 price_base_type=HT total_ht=1404.43-total_vat=294.93-total_ttc=1699.36
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=7.75 pu=85.33000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=85.33000000 qty=7.75 price_base_type=HT total_ht=661.31-total_vat=138.87-total_ttc=800.18
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=22.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=22.00000000 qty=1 price_base_type=HT total_ht=22-total_vat=4.62-total_ttc=26.62
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total qty=54.18 pu=20.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:32 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=20.75000000 qty=54.18 price_base_type=HT total_ht=1124.24-total_vat=236.08-total_ttc=1360.32
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 11133.09, total_tva = 2337.92, localtax1 = 0, localtax2 = 0, total_ttc = 13471.01, multicurrency_total_ht = 11133.09, multicurrency_total_tva = 2337.92, multicurrency_total_ttc = 13471.01 WHERE rowid = 2
2023-08-15 18:43:32 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:32 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:43:32 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:43:32 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:43:32 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:32 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:32 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:43:32 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:43:32 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:33 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:43:33 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:33 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:43:33 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:43:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:33 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:43:33 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:43:33 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:43:33 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:43:33 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = 'b4e56b4f07e8ce82b36ae73532410854', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:43:33 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:33 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:33 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:33 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:43:33 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:43:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:33 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:33 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:43:33 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:43:33 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:43:33 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:43:33 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:43:33 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:43:34 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:43:34 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:43:34 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:43:34 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:34 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:43:34 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:43:34 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:43:34 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:43:34 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:43:34 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:43:34 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:43:34 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:43:34 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:43:34 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:34 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:43:35 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:43:35 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:43:35 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:43:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:43:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:43:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:43:35 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:43:35 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:43:35 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:43:35 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:43:58 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:43:58 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:43:58 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:58 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:58 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:43:58 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:58 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:43:58 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:58 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:58 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=31.6, qty=20.75, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Remate perimetral de la i…
2023-08-15 18:43:58 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:43:58 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:43:58 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:58 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:43:58 INFO 94.73.41.43 Price.lib::calcul_price_total qty=20.75 pu=31.6 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:58 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=31.6 qty=20.75 price_base_type=HT total_ht=655.7-total_vat=137.7-total_ttc=793.4
2023-08-15 18:43:58 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:43:58 DEBUG 94.73.41.43 FactureLigne::insert rang=13
2023-08-15 18:43:58 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:43:58 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Remate perimetral de la impermeabilización mediante sistema bituminoso bicapa\r\nadherido autoprotegida, con un desarrollo máximo de 120 cm., compuesto por:\r\n• Imprimación de la zona a impermeabilizar, mediante “CURIDAN”, emulsión\r\nasfáltica de base acuosa, en aquellas zonas que sean necesarias.\r\n• Lámina de betún elastómero SBS, tipo “LBM-30-FV”, con un peso medio de\r\n3,- kg/m2., con armadura de fieltro de fibra de vidrio, “GLASDAN 30 P\r\nELAST” o similar, adherida completamente al soporte mediante soplete.\r\n• Lámina de betún elastómero SBS, tipo “LBM-50/G-FP ELAST VERDE\r\nJARDÍN”, con un peso medio de 5,- kg/m2., con armadura de fieltro de\r\npoliéster reforzado, “ESTERDAN PLUS 50/GP ELAST VERDE JARDÍN” o\r\nsimilar, adherida completamente a la anterior mediante soplete.\r\n• Drenaje de muro mediante “DANODREN JARDÍN”, o similar.', 20.75, '', 21, 0, 0, '3', '5', null, 1, 0, 31.6, '', null, null, null, 0, 13, 0, null, 0, '0', 655.7, 137.7, 793.4, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 31.6, 655.7, 137.7, 793.4)
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.00000000 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=675 pu=1.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.00000000 qty=675 price_base_type=HT total_ht=675-total_vat=141.75-total_ttc=816.75
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=13.8 pu=101.77000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=101.77000000 qty=13.8 price_base_type=HT total_ht=1404.43-total_vat=294.93-total_ttc=1699.36
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=7.75 pu=85.33000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=85.33000000 qty=7.75 price_base_type=HT total_ht=661.31-total_vat=138.87-total_ttc=800.18
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=22.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=22.00000000 qty=1 price_base_type=HT total_ht=22-total_vat=4.62-total_ttc=26.62
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=54.18 pu=20.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=20.75000000 qty=54.18 price_base_type=HT total_ht=1124.24-total_vat=236.08-total_ttc=1360.32
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total qty=20.75 pu=31.60000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:43:59 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=31.60000000 qty=20.75 price_base_type=HT total_ht=655.7-total_vat=137.7-total_ttc=793.4
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 11788.79, total_tva = 2475.62, localtax1 = 0, localtax2 = 0, total_ttc = 14264.41, multicurrency_total_ht = 11788.79, multicurrency_total_tva = 2475.62, multicurrency_total_ttc = 14264.41 WHERE rowid = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:59 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:43:59 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:43:59 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:43:59 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:43:59 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:43:59 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:43:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:59 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:43:59 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png
2023-08-15 18:43:59 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV2)' AND t.filename = '(PROV2).pdf' AND t.entity = 1
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:43:59 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:43:59 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '39d3fc169a4473ff45567420dae7b478', label = '10eeefd3c29657b8fb9e4e99d7d014fa', share = null, entity = 1, filename = '(PROV2).pdf', filepath = 'facture/(PROV2)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:43:59 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV2)/(PROV2).pdf' WHERE rowid = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:43:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:43:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:43:59 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:43:59 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:43:59 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:43:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:43:59 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:44:00 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:44:00 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:44:00 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:44:00 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:44:00 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:44:00 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:44:00 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:44:00 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:44:00 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:44:00 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:44:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:44:00 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:44:00 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:44:00 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:00 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:44:00 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:44:00 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:44:00 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:44:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:44:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:44:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:44:00 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:44:00 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:44:00 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:44:09 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:44:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:44:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=valid, massaction=
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:44:09 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:44:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:44:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:44:09 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:44:09 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:44:09 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:44:09 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL, type=, mode=next
2023-08-15 18:44:09 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:44:09 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2303-0002
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV2)' AND te.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV2)' AND te.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:44:09 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:44:09 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:09 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV2) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:44:09 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:44:09 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:44:09 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV2)'
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:09 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:44:09 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:44:09 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:44:09 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:44:09 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:44:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:44:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:44:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:44:09 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV2)/(PROV2).pdf_preview.png entity=1
2023-08-15 18:44:09 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV2)/(PROV2).pdf_preview.png filename=(PROV2).pdf_preview.png content-type=image/png
2023-08-15 18:44:09 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:44:11 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:44:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:44:11 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=confirm_valid, massaction=
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:44:11 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:11 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:44:11 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL, type=, mode=next
2023-08-15 18:44:11 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:44:11 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2303-0002
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 11788.79, total_tva = 2475.62, localtax1 = 0, localtax2 = 0, total_ttc = 14264.41, multicurrency_total_ht = 11788.79, multicurrency_total_tva = 2475.62, multicurrency_total_ttc = 14264.41 WHERE rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::validate
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref = 'IN2303-0002', fk_statut = 1, fk_user_valid = 1, date_valid = '2023-08-15 20:44:11' WHERE rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET client = 1 WHERE rowid = 2
2023-08-15 18:44:11 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=2
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 2 AND targettype = 'facture' AND sourcetype = 'commande' ORDER BY sourcetype
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 2 AND targettype = 'facture' AND sourcetype = 'propal' ORDER BY sourcetype
2023-08-15 18:44:11 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=2
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 18:44:11 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 20:44:11', '2023-08-15 20:44:11', '2023-08-15 20:44:11', null, 40,'AC_BILL_VALIDATE', null, 2, null, 'Factura IN2303-0002 validada', null, 1, 1, null, 'Factura IN2303-0002 validada', '-1', '0', '0', '', '0', 2, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='23' WHERE id=23
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(23, 'user', 1, 0, 0, 0)
2023-08-15 18:44:11 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=2
2023-08-15 18:44:11 DEBUG 94.73.41.43 BlockedLog::create action=BILL_VALIDATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 20:44:11','BILL_VALIDATE',14264.41,'48385462e05e81504f39ad14e2c54a10853f5dde76be052c5c5a916693bf66dc','526e536b72c9aec37e096c2af70fbebbd0db919ceca5d41ee9036594acc7f5f1','facture',2,'2023-03-03 00:00:00','IN2303-0002','O:8:\"stdClass\":10:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:39:\"TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL\";s:10:\"name_alias\";s:39:\"TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL\";s:7:\"address\";s:37:\"C/. Rafael Calvo, no. 3, 28010 MADRID\";s:7:\"idprof1\";s:9:\"B-8701497\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00002\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:4:\"date\";i:1677798000;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";d:11788.79;s:9:\"total_tva\";d:2475.62;s:9:\"total_ttc\";d:14264.41;s:12:\"revenuestamp\";s:10:\"0.00000000\";s:11:\"invoiceline\";a:13:{i:1;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"628.00000000\";s:23:\"multicurrency_total_tva\";s:12:\"131.88000000\";s:23:\"multicurrency_total_ttc\";s:12:\"759.88000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:3:\"400\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"628.00000000\";s:9:\"total_tva\";s:12:\"131.88000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"759.88000000\";s:9:\"info_bits\";s:1:\"0\";}i:2;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:11:\"57.30000000\";s:23:\"multicurrency_total_tva\";s:11:\"12.03000000\";s:23:\"multicurrency_total_ttc\";s:11:\"69.33000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:2:\"30\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:11:\"57.30000000\";s:9:\"total_tva\";s:11:\"12.03000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:11:\"69.33000000\";s:9:\"info_bits\";s:1:\"0\";}i:3;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"1785.00000000\";s:23:\"multicurrency_total_tva\";s:12:\"374.85000000\";s:23:\"multicurrency_total_ttc\";s:13:\"2159.85000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"187.5\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"1785.00000000\";s:9:\"total_tva\";s:12:\"374.85000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"2159.85000000\";s:9:\"info_bits\";s:1:\"0\";}i:4;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"911.25000000\";s:23:\"multicurrency_total_tva\";s:12:\"191.36000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1102.61000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"187.5\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"911.25000000\";s:9:\"total_tva\";s:12:\"191.36000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1102.61000000\";s:9:\"info_bits\";s:1:\"0\";}i:5;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"2755.76000000\";s:23:\"multicurrency_total_tva\";s:12:\"578.70000000\";s:23:\"multicurrency_total_ttc\";s:13:\"3334.46000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:6:\"184.95\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"2755.76000000\";s:9:\"total_tva\";s:12:\"578.70000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"3334.46000000\";s:9:\"info_bits\";s:1:\"0\";}i:6;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"954.80000000\";s:23:\"multicurrency_total_tva\";s:12:\"200.51000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1155.31000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"123.2\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"954.80000000\";s:9:\"total_tva\";s:12:\"200.51000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1155.31000000\";s:9:\"info_bits\";s:1:\"0\";}i:7;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"154.00000000\";s:23:\"multicurrency_total_tva\";s:11:\"32.34000000\";s:23:\"multicurrency_total_ttc\";s:12:\"186.34000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:2:\"22\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"154.00000000\";s:9:\"total_tva\";s:11:\"32.34000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"186.34000000\";s:9:\"info_bits\";s:1:\"0\";}i:8;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"675.00000000\";s:23:\"multicurrency_total_tva\";s:12:\"141.75000000\";s:23:\"multicurrency_total_ttc\";s:12:\"816.75000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:3:\"675\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"675.00000000\";s:9:\"total_tva\";s:12:\"141.75000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"816.75000000\";s:9:\"info_bits\";s:1:\"0\";}i:9;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"1404.43000000\";s:23:\"multicurrency_total_tva\";s:12:\"294.93000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1699.36000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:4:\"13.8\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"1404.43000000\";s:9:\"total_tva\";s:12:\"294.93000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1699.36000000\";s:9:\"info_bits\";s:1:\"0\";}i:10;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"661.31000000\";s:23:\"multicurrency_total_tva\";s:12:\"138.87000000\";s:23:\"multicurrency_total_ttc\";s:12:\"800.18000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:4:\"7.75\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"661.31000000\";s:9:\"total_tva\";s:12:\"138.87000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"800.18000000\";s:9:\"info_bits\";s:1:\"0\";}i:11;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:11:\"22.00000000\";s:23:\"multicurrency_total_tva\";s:10:\"4.62000000\";s:23:\"multicurrency_total_ttc\";s:11:\"26.62000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"1\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:11:\"22.00000000\";s:9:\"total_tva\";s:10:\"4.62000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:11:\"26.62000000\";s:9:\"info_bits\";s:1:\"0\";}i:12;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"1124.24000000\";s:23:\"multicurrency_total_tva\";s:12:\"236.08000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1360.32000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"54.18\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"1124.24000000\";s:9:\"total_tva\";s:12:\"236.08000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1360.32000000\";s:9:\"info_bits\";s:1:\"0\";}i:13;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"655.70000000\";s:23:\"multicurrency_total_tva\";s:12:\"137.70000000\";s:23:\"multicurrency_total_ttc\";s:12:\"793.40000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"20.75\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"655.70000000\";s:9:\"total_tva\";s:12:\"137.70000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"793.40000000\";s:9:\"info_bits\";s:1:\"0\";}}s:3:\"ref\";s:11:\"IN2303-0002\";}','',0,1,'SuperAdmin',1)
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files set filename = CONCAT('IN2303-0002', SUBSTR(filename, 8)), filepath = 'facture/IN2303-0002' WHERE filename LIKE '(PROV2)%' AND filepath = 'facture/(PROV2)' and entity = 1
2023-08-15 18:44:11 INFO 94.73.41.43 Facture::validate rename dir /home/iymllvj/oteimsa/admin/documents/facture/(PROV2) into /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002
2023-08-15 18:44:11 INFO 94.73.41.43 Rename ok
2023-08-15 18:44:11 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=1 filter=^\(PROV2\) excludefilter=null
2023-08-15 18:44:11 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:11 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:44:11 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:44:11 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:44:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:44:11 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:44:11 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:44:11 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:44:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:44:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:44:11 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:44:11 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png
2023-08-15 18:44:11 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2303-0002' AND t.filename = 'IN2303-0002.pdf' AND t.entity = 1
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:44:11 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:44:11 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '97637c2afcb8ac44a250e3287977227a', label = '7d8951076437a516f1038232cdca89ef', share = null, entity = 1, filename = 'IN2303-0002.pdf', filepath = 'facture/IN2303-0002', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:44:11 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2303-0002/IN2303-0002.pdf' WHERE rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:44:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:44:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:44:11 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:44:11 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:44:11 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:44:11 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:44:11 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:44:12 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:44:12 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:44:12 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:44:12 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:44:12 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:44:12 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL, type=, mode=last
2023-08-15 18:44:12 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0002' AND entity IN (1) ORDER BY ref DESC
2023-08-15 18:44:12 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:44:12 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:44:12 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:44:12 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:44:12 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2303-0002'
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:44:12 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:44:12 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 23
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 23 AND element_type IN ('user', 'socpeople')
2023-08-15 18:44:12 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:44:12 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:44:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:44:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:44:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:44:12 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2303-0002/IN2303-0002.pdf_preview.png entity=1
2023-08-15 18:44:12 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png filename=IN2303-0002.pdf_preview.png content-type=image/png
2023-08-15 18:44:12 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:44:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:44:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:44:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:44:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:44:12 INFO 94.73.41.43 dol_check_secure_access_document modulepart=userphoto original_file=1/photos/thumbs/ISO_mini.jpg entity=1
2023-08-15 18:44:12 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/users/1/photos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-08-15 18:44:12 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:45:19 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:45:19 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:45:19 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=modif, massaction=
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:45:19 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:45:19 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:45:19 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:45:19 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:45:19 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:45:19 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL, type=, mode=last
2023-08-15 18:45:19 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0002' AND entity IN (1) ORDER BY ref DESC
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:45:19 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:45:19 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:45:19 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:45:19 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2303-0002'
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:19 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:45:19 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:45:19 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 23
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 23 AND element_type IN ('user', 'socpeople')
2023-08-15 18:45:19 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:45:19 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:45:19 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:45:20 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:45:20 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:45:20 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:20 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:45:20 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:45:20 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:45:20 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:45:20 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:45:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:45:20 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2303-0002/IN2303-0002.pdf_preview.png entity=1
2023-08-15 18:45:20 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png filename=IN2303-0002.pdf_preview.png content-type=image/png
2023-08-15 18:45:20 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:45:21 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:45:21 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:45:21 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=confirm_modif, massaction=
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT pf.amount FROM oe_paiement_facture as pf WHERE pf.fk_facture = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::setDraft
2023-08-15 18:45:21 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_statut = 0 WHERE rowid = 2
2023-08-15 18:45:21 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_UNVALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=2
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 18:45:21 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 20:45:21', '2023-08-15 20:45:21', '2023-08-15 20:45:21', null, 40,'AC_BILL_UNVALIDATE', null, 2, null, 'Factura IN2303-0002 devuelta a borrador', null, 1, 1, null, 'Factura IN2303-0002 devuelta a borrador', '-1', '0', '0', '', '0', 2, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='24' WHERE id=24
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(24, 'user', 1, 0, 0, 0)
2023-08-15 18:45:21 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_UNVALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=2
2023-08-15 18:45:21 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:21 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:45:21 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:45:21 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:45:21 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:45:21 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:45:21 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:45:21 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:45:21 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:45:22 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:45:22 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:45:22 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:45:22 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:45:22 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png
2023-08-15 18:45:22 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2303-0002' AND t.filename = 'IN2303-0002.pdf' AND t.entity = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:45:22 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '97637c2afcb8ac44a250e3287977227a', label = '76f811a21516763bb546ca36999be27b', share = null, entity = 1, filename = 'IN2303-0002.pdf', filepath = 'facture/IN2303-0002', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:45:22 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2303-0002/IN2303-0002.pdf' WHERE rowid = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:45:22 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:45:22 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:45:22 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:45:22 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:45:22 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:45:22 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:45:22 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:45:22 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:45:22 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:45:22 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:45:22 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL, type=, mode=last
2023-08-15 18:45:22 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0002' AND entity IN (1) ORDER BY ref DESC
2023-08-15 18:45:22 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:45:22 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:45:22 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:45:22 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2303-0002'
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:22 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:45:22 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 24
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 24 AND element_type IN ('user', 'socpeople')
2023-08-15 18:45:22 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 23
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 23 AND element_type IN ('user', 'socpeople')
2023-08-15 18:45:22 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:45:22 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:45:22 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:45:22 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:45:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:45:22 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:45:22 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2303-0002/IN2303-0002.pdf_preview.png entity=1
2023-08-15 18:45:22 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png filename=IN2303-0002.pdf_preview.png content-type=image/png
2023-08-15 18:45:22 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:45:38 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:45:38 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:45:38 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:45:38 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::addline id=2, pu_ht=22, qty=2, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Colocación de sumidero sa…
2023-08-15 18:45:38 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:45:38 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:45:38 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:45:38 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=2/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=2 pu=22 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=22 qty=2 price_base_type=HT total_ht=44-total_vat=9.24-total_ttc=53.24
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 FactureLigne::insert rang=14
2023-08-15 18:45:38 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (2, null, null, 'Colocación de sumidero salida vertical, compatibles con los materiales utilizados\r\npara la impermeabilización de la cubierta, con una dimensión adecuada para la\r\ncorrecta evacuación del agua.', 2, '', 21, 0, 0, '3', '5', null, 1, 0, 22, '', null, null, null, 0, 14, 0, null, 0, '0', 44, 9.24, 53.24, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 22, 44, 9.24, 53.24)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=400 pu=1.57000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.57000000 qty=400 price_base_type=HT total_ht=628-total_vat=131.88-total_ttc=759.88
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=30 pu=1.91000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.91000000 qty=30 price_base_type=HT total_ht=57.3-total_vat=12.03-total_ttc=69.33
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=9.52000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=9.52000000 qty=187.5 price_base_type=HT total_ht=1785-total_vat=374.85-total_ttc=2159.85
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=187.5 pu=4.86000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=4.86000000 qty=187.5 price_base_type=HT total_ht=911.25-total_vat=191.36-total_ttc=1102.61
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=184.95 pu=14.90000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=14.90000000 qty=184.95 price_base_type=HT total_ht=2755.76-total_vat=578.7-total_ttc=3334.46
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=123.2 pu=7.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.75000000 qty=123.2 price_base_type=HT total_ht=954.8-total_vat=200.51-total_ttc=1155.31
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=22 pu=7.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=7.00000000 qty=22 price_base_type=HT total_ht=154-total_vat=32.34-total_ttc=186.34
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=675 pu=1.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1.00000000 qty=675 price_base_type=HT total_ht=675-total_vat=141.75-total_ttc=816.75
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=13.8 pu=101.77000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=101.77000000 qty=13.8 price_base_type=HT total_ht=1404.43-total_vat=294.93-total_ttc=1699.36
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=7.75 pu=85.33000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=85.33000000 qty=7.75 price_base_type=HT total_ht=661.31-total_vat=138.87-total_ttc=800.18
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=22.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=22.00000000 qty=1 price_base_type=HT total_ht=22-total_vat=4.62-total_ttc=26.62
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=54.18 pu=20.75000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=20.75000000 qty=54.18 price_base_type=HT total_ht=1124.24-total_vat=236.08-total_ttc=1360.32
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=20.75 pu=31.60000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=31.60000000 qty=20.75 price_base_type=HT total_ht=655.7-total_vat=137.7-total_ttc=793.4
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total qty=2 pu=22.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:45:38 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=22.00000000 qty=2 price_base_type=HT total_ht=44-total_vat=9.24-total_ttc=53.24
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 11832.79, total_tva = 2484.86, localtax1 = 0, localtax2 = 0, total_ttc = 14317.65, multicurrency_total_ht = 11832.79, multicurrency_total_tva = 2484.86, multicurrency_total_ttc = 14317.65 WHERE rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:38 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:45:38 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:45:38 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:45:38 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:45:38 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:45:38 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:45:38 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:45:38 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png
2023-08-15 18:45:38 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2303-0002' AND t.filename = 'IN2303-0002.pdf' AND t.entity = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:45:38 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '97637c2afcb8ac44a250e3287977227a', label = 'a24218e1970a9645eb1b1334a05c1f30', share = null, entity = 1, filename = 'IN2303-0002.pdf', filepath = 'facture/IN2303-0002', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:45:38 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2303-0002/IN2303-0002.pdf' WHERE rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:45:38 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:45:38 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:45:38 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:45:38 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:45:38 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:45:38 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:45:38 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:45:38 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL, type=, mode=last
2023-08-15 18:45:38 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0002' AND entity IN (1) ORDER BY ref DESC
2023-08-15 18:45:38 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:45:38 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:45:38 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:45:38 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:45:38 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2303-0002'
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:45:38 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:45:38 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 24
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 24 AND element_type IN ('user', 'socpeople')
2023-08-15 18:45:38 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 23
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 23 AND element_type IN ('user', 'socpeople')
2023-08-15 18:45:38 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:45:38 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:45:38 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:45:39 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:45:39 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:45:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:45:39 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:45:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:45:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:45:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:45:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:45:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:45:39 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2303-0002/IN2303-0002.pdf_preview.png entity=1
2023-08-15 18:45:39 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png filename=IN2303-0002.pdf_preview.png content-type=image/png
2023-08-15 18:45:39 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:46:53 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:46:53 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:46:53 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/index.php - action=, massaction=
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-07-16' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-31' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-08-15' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-08-15' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-30' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-09-14' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-08-15 18:46:53 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT sum((CASE WHEN f.date_lim_reglement < '2023-07-16' THEN 1 ELSE 0 END)) as nblate30, sum((CASE WHEN f.date_lim_reglement < '2023-07-31' THEN 1 ELSE 0 END)) as nblate15, sum((CASE WHEN f.date_lim_reglement < '2023-08-15' THEN 1 ELSE 0 END)) as nblatenow, sum((CASE WHEN f.date_lim_reglement >= '2023-08-15' OR f.date_lim_reglement IS NULL THEN 1 ELSE 0 END)) as nbnotlatenow, sum((CASE WHEN f.date_lim_reglement > '2023-08-30' THEN 1 ELSE 0 END)) as nbnotlate15, sum((CASE WHEN f.date_lim_reglement > '2023-09-14' THEN 1 ELSE 0 END)) as nbnotlate30 FROM oe_facture_fourn as f WHERE f.entity IN (1) AND f.type <> 2 AND f.fk_statut = 1
2023-08-15 18:46:53 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars,bars,bars,bars this->MaxValue=0
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.ref_client, f.type, f.fk_statut, f.paye, s.nom, s.rowid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid, cc.code
2023-08-15 18:46:53 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT f.ref, f.rowid, f.total_ht, f.total_tva, f.total_ttc, f.type, f.ref_supplier, f.fk_statut as status, f.paye, s.nom as name, s.rowid as socid, s.email, s.code_client, s.code_compta, s.code_fournisseur, s.code_compta_fournisseur, cc.rowid as country_id, cc.code as country_code FROM oe_facture_fourn as f, oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays WHERE s.rowid = f.fk_soc AND f.fk_statut = 0 AND f.entity IN (1)
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_statut as status, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement as datelimite, s.nom as name, s.rowid as socid, s.code_client, s.code_compta, s.email, cc.rowid as country_id, cc.code as country_code, sum(pf.amount) as am FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_facture as f LEFT JOIN oe_paiement_facture as pf on f.rowid=pf.fk_facture WHERE s.rowid = f.fk_soc AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.fk_statut, f.type, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.tms, f.date_lim_reglement, s.nom, s.rowid, s.code_client, s.code_compta, s.email, cc.rowid, cc.code ORDER BY f.tms DESC LIMIT 3
2023-08-15 18:46:53 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:46:53 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.ref, ff.fk_statut as status, ff.type, ff.libelle, ff.total_ht, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom as name, s.rowid as socid, s.code_fournisseur, s.code_compta_fournisseur, s.email, SUM(pf.amount) as am FROM oe_societe as s, oe_facture_fourn as ff LEFT JOIN oe_paiementfourn_facturefourn as pf on ff.rowid=pf.fk_facturefourn WHERE s.rowid = ff.fk_soc AND ff.entity = 1 GROUP BY ff.rowid, ff.ref, ff.fk_statut, ff.type, ff.libelle, ff.total_ht, ff.tva, ff.total_tva, ff.total_ttc, ff.tms, ff.paye, ff.ref_supplier, s.nom, s.rowid, s.code_fournisseur, s.code_compta_fournisseur, s.email ORDER BY ff.tms DESC LIMIT 3
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.amount, c.date_ech, c.paye, cc.libelle as label, SUM(pc.amount) as sumpaid FROM (oe_c_chargesociales as cc, oe_chargesociales as c) LEFT JOIN oe_paiementcharge as pc ON pc.fk_charge = c.rowid WHERE c.fk_type = cc.id AND c.entity IN (1) AND c.paye = 0 GROUP BY c.rowid, c.amount, c.date_ech, c.paye, cc.libelle
2023-08-15 18:46:53 DEBUG 94.73.41.43 sql=SELECT sum(f.total_ht) as tot_fht, sum(f.total_ttc) as tot_fttc, s.nom as name, s.email, s.rowid as socid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut as status, c.total_ht, c.total_tva, c.total_ttc, cc.rowid as country_id, cc.code as country_code FROM oe_societe as s LEFT JOIN oe_c_country as cc ON cc.rowid = s.fk_pays, oe_commande as c LEFT JOIN oe_element_element as el ON el.fk_source = c.rowid AND el.sourcetype = 'commande' LEFT JOIN oe_facture AS f ON el.fk_target = f.rowid AND el.targettype = 'facture' WHERE c.fk_soc = s.rowid AND c.entity = 1 AND c.fk_statut = 3 AND c.facture = 0 GROUP BY s.nom, s.email, s.rowid, s.code_client, s.code_compta, c.rowid, c.ref, c.facture, c.fk_statut, c.total_ht, c.total_tva, c.total_ttc, cc.rowid, cc.code
2023-08-15 18:46:53 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/index.php
2023-08-15 18:46:55 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:46:55 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:46:55 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:46:55 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:46:55 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:46:55 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:46:55 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:46:55 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:46:55 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:46:55 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:46:55 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:46:55 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:46:55 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:46:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:46:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:46:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:46:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:46:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:46:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:46:55 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:46:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:46:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:46:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:46:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:46:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:46:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:46:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:46:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:46:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:46:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:46:55 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:47:59 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:47:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:47:59 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:47:59 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:47:59 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:47:59 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:47:59 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:47:59 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:47:59 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:47:59 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:47:59 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:47:59 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:47:59 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:47:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:47:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:47:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:47:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:47:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:47:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:47:59 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:47:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:47:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:47:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:47:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:47:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:47:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:47:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:47:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:47:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:47:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:47:59 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:48:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:48:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,0) AND entity IN (1,1))
2023-08-15 18:48:00 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:48:00 INFO 94.73.41.43 dol_check_secure_access_document modulepart=mycompany original_file=logos/thumbs/ISO_mini.jpg entity=1
2023-08-15 18:48:00 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/mycompany/logos/thumbs/ISO_mini.jpg filename=ISO_mini.jpg content-type=image/jpeg
2023-08-15 18:48:00 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:49:23 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:49:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:49:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:49:23 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 18:49:23 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 18:49:23 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:49:23 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 18:49:23 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:49:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:49:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:49:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:49:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:49:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:49:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:49:23 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:49:23 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 18:49:23 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:49:23 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:49:23 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:49:23 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:49:23 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:49:28 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:49:28 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:49:28 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:49:28 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.entity IN (1) AND f.ref = 'provisoire'
2023-08-15 18:49:28 WARNING 94.73.41.43 Facture::fetchInvoice with id= or ref=provisoire or ref_ext= not found
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:49:28 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3
2023-08-15 18:49:28 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 3 AND entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:49:28 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 3 ORDER BY f.ref
2023-08-15 18:49:28 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 3 ORDER BY f.ref
2023-08-15 18:49:28 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 18:49:28 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:49:28 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 18:49:28 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:49:28 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 18:49:28 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 18:49:29 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:49:29 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:49:29 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:49:29 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:49:29 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:49:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:49:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:49:45 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:49:45 INFO 94.73.41.43 Facture::create user=1 date=1675119600
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=INSERT INTO oe_facture ( ref, entity, ref_ext, type, fk_soc, datec, remise_absolue, remise_percent, datef, date_pointoftax, note_private, note_public, ref_client, fk_account, module_source, pos_source, fk_fac_rec_source, fk_facture_source, fk_user_author, fk_projet, fk_cond_reglement, fk_mode_reglement, date_lim_reglement, model_pdf, situation_cycle_ref, situation_counter, situation_final, fk_incoterms, location_incoterms, fk_multicurrency, multicurrency_code, multicurrency_tx, retained_warranty, retained_warranty_date_limit, retained_warranty_fk_cond_reglement) VALUES ('(PROV)', 1, null, '0', 3, '2023-08-15 20:49:45', NULL, NULL, '2023-01-31 00:00:00', null, null, null, null, 1, null, null, null, null, 1, null, 1, 2, '2023-02-01 00:00:00', 'crabe', null, null, 0, 0, '', 0, 'EUR', 1, 0, '2023-02-01 00:00:00', 0)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='(PROV3)' WHERE rowid=3
2023-08-15 18:49:45 INFO 94.73.41.43 There is 0 lines that are array lines
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 3 AND product_type <> 9 ORDER by rowid
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 3
2023-08-15 18:49:45 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=3
2023-08-15 18:49:45 INFO 94.73.41.43 Trigger 'ContactRoles' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_90_modSociete_ContactRoles.class.php. id=3
2023-08-15 18:49:45 DEBUG 94.73.41.43 Contact::getContactRoles
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT sc.fk_socpeople as id, sc.fk_c_type_contact FROM oe_c_type_contact tc, oe_societe_contacts sc INNER JOIN oe_socpeople sp ON sc.fk_socpeople = sp.rowid AND sp.statut = 1 WHERE sc.fk_soc =3 AND sc.fk_c_type_contact=tc.rowid AND tc.element = 'facture' AND tc.active = 1
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 3 AND product_type <> 9 ORDER by rowid
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:49:45 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:49:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:49:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:49:45 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:49:45 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:49:45 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 3 AND pfd.ext_payment_id IS NULL
2023-08-15 18:49:45 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV3)' AND te.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV3)' AND te.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type = 2
2023-08-15 18:49:45 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:49:45 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 3
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:49:45 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:49:45 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:49:45 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:49:45 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:49:45 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:49:45 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 3
2023-08-15 18:49:45 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:49:45 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:49:45 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:49:45 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV3)'
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (3) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:49:45 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:49:45 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:49:45 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:49:45 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:49:45 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:50:01 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:01 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:01 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:01 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=3/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:50:01 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=3/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::addline id=3, pu_ht=5560.26, qty=1, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=10a Factura relativa al P…
2023-08-15 18:50:01 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:50:01 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 18:50:01 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=3/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:50:01 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=3/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:50:01 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=5560.26 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:50:01 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=5560.26 qty=1 price_base_type=HT total_ht=5560.26-total_vat=1167.65-total_ttc=6727.91
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 FactureLigne::insert rang=1
2023-08-15 18:50:01 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (3, null, null, '10a Factura relativa al Presupuesto V-0818/2019 ACTUALIZACIÓN V –\r\nTratamiento de Patios y Medianerías en Calle Almansa 21 – (Madrid)\r\n1,00 Ud. TRABAJOS REALIZADOS DE REHABILITACIÓN EN\r\nPATIOS Y MEDIANERÍAS- PAGO 4/12 SEGÚN\r\nPRESUPUESTO V-0818/2019 ACT.V', 1, '', 21, 0, 0, '3', '5', null, 1, 0, 5560.26, '', null, null, null, 0, 1, 0, null, 0, '0', 5560.26, 1167.65, 6727.91, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 5560.26, 5560.26, 1167.65, 6727.91)
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 3 AND product_type <> 9 ORDER by rowid
2023-08-15 18:50:01 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=5560.26000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:50:01 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=5560.26000000 qty=1 price_base_type=HT total_ht=5560.26-total_vat=1167.65-total_ttc=6727.91
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 5560.26, total_tva = 1167.65, localtax1 = 0, localtax2 = 0, total_ttc = 6727.91, multicurrency_total_ht = 5560.26, multicurrency_total_tva = 1167.65, multicurrency_total_ttc = 6727.91 WHERE rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:01 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:50:01 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:50:01 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:01 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:01 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3)
2023-08-15 18:50:01 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV3)' does not exists or is outside open_basedir PHP setting.
2023-08-15 18:50:01 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV3)' created
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:50:01 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 3 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:01 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:50:01 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:50:01 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:01 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV3)' AND t.filename = '(PROV3).pdf' AND t.entity = 1
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:50:01 DEBUG 94.73.41.43 EcmFiles::create
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT MAX(position) as maxposition FROM oe_ecm_files WHERE filepath ='facture/(PROV3)'
2023-08-15 18:50:01 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=INSERT INTO oe_ecm_files(ref,label,share,entity,filename,filepath,fullpath_orig,description,keywords,cover,position,gen_or_uploaded,extraparams,date_c,tms,fk_user_c,fk_user_m,acl,src_object_type,src_object_id) VALUES ( 'c75382bdcec51bc132b8cda8536b2cbf', '695376b6b73f78e85355cd8d882a441c', NULL, 1, '(PROV3).pdf', 'facture/(PROV3)', '', '', '', NULL, 1, 'generated', NULL, '2023-08-15 20:50:01', '2023-08-15 20:50:01', 1, NULL, NULL, 'facture', 3)
2023-08-15 18:50:01 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV3)/(PROV3).pdf' WHERE rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:01 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:01 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:01 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:01 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 3 AND pfd.ext_payment_id IS NULL
2023-08-15 18:50:01 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:01 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV3)' AND te.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV3)' AND te.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type = 2
2023-08-15 18:50:02 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:50:02 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:02 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 3
2023-08-15 18:50:02 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:02 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:50:02 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:50:02 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:50:02 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:50:02 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:50:02 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 3
2023-08-15 18:50:02 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:02 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:50:02 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:02 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV3)'
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (3) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:02 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:50:02 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:50:02 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:50:02 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:02 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:02 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:50:02 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV3)/(PROV3).pdf_preview.png entity=1
2023-08-15 18:50:02 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV3)/(PROV3).pdf_preview.png filename=(PROV3).pdf_preview.png content-type=image/png
2023-08-15 18:50:02 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:50:13 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=editline, massaction=
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:13 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:13 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:13 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 3 AND pfd.ext_payment_id IS NULL
2023-08-15 18:50:13 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV3)' AND te.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV3)' AND te.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type = 2
2023-08-15 18:50:13 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:50:13 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 3
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:13 INFO 94.73.41.43 DolEditor::DolEditor htmlname=product_desc width= height=164 toolbarname=dolibarr_details
2023-08-15 18:50:13 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:50:13 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:13 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:50:13 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:13 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV3)'
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (3) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:13 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:50:13 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:50:13 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:50:13 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:50:13 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:50:13 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV3)/(PROV3).pdf_preview.png entity=1
2023-08-15 18:50:13 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV3)/(PROV3).pdf_preview.png filename=(PROV3).pdf_preview.png content-type=image/png
2023-08-15 18:50:13 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:50:13 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:13 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/fourn/ajax/getSupplierPrices.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:50:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:13 INFO 94.73.41.43 --- End access to /admin/htdocs/fourn/ajax/getSupplierPrices.php
2023-08-15 18:50:16 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:16 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=updateline, massaction=
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:16 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:16 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:16 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:16 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:16 INFO 94.73.41.43 get_localtax tva=10 local=1 thirdparty_buyer id=3/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:50:16 INFO 94.73.41.43 get_localtax tva=10 local=2 thirdparty_buyer id=3/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT fd.rowid, fd.fk_facture, fd.fk_parent_line, fd.fk_product, fd.product_type, fd.label as custom_label, fd.description, fd.price, fd.qty, fd.vat_src_code, fd.tva_tx, fd.localtax1_tx, fd. localtax2_tx, fd.remise, fd.remise_percent, fd.fk_remise_except, fd.subprice, fd.ref_ext, fd.date_start as date_start, fd.date_end as date_end, fd.fk_product_fournisseur_price as fk_fournprice, fd.buy_price_ht as pa_ht, fd.info_bits, fd.special_code, fd.total_ht, fd.total_tva, fd.total_ttc, fd.total_localtax1, fd.total_localtax2, fd.rang, fd.fk_code_ventilation, fd.fk_unit, fd.fk_user_author, fd.fk_user_modif, fd.situation_percent, fd.fk_prev_id, fd.multicurrency_subprice, fd.multicurrency_total_ht, fd.multicurrency_total_tva, fd.multicurrency_total_ttc, p.ref as product_ref, p.label as product_label, p.description as product_desc FROM oe_facturedet as fd LEFT JOIN oe_product as p ON fd.fk_product = p.rowid WHERE fd.rowid = 16
2023-08-15 18:50:16 DEBUG 94.73.41.43 Facture::updateline rowid=16, desc=10a Factura relativa al Presupuesto V-0818/2019 ACTUALIZACIÓN V –
Tratamiento de Patios y Medianerías en Calle Almansa 21 – (Madrid)
1,00 Ud. TRABAJOS REALIZADOS DE REHABILITACIÓN EN
PATIOS Y MEDIANERÍAS- PAGO 4/12 SEGÚN
PRESUPUESTO V-0818/2019 ACT.V, pu=5560.26, qty=1, remise_percent=, date_start=, date_end=, txtva=10, txlocaltax1=0, txlocaltax2=0, price_base_type=HT, info_bits=0, type=1, fk_parent_line= pa_ht=0.00, special_code=0, fk_unit=, pu_ht_devise=
2023-08-15 18:50:16 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:50:16 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=10 local=0
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 10 AND t.active = 1
2023-08-15 18:50:16 INFO 94.73.41.43 get_localtax tva=10 local=1 thirdparty_buyer id=3/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:50:16 INFO 94.73.41.43 get_localtax tva=10 local=2 thirdparty_buyer id=3/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 18:50:16 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=5560.26 remise_percent_ligne= txtva=10 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 18:50:16 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=5560.26 qty=1 price_base_type=HT total_ht=5560.26-total_vat=556.03-total_ttc=6116.29
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=SELECT fd.rowid, fd.fk_facture, fd.fk_parent_line, fd.fk_product, fd.product_type, fd.label as custom_label, fd.description, fd.price, fd.qty, fd.vat_src_code, fd.tva_tx, fd.localtax1_tx, fd. localtax2_tx, fd.remise, fd.remise_percent, fd.fk_remise_except, fd.subprice, fd.ref_ext, fd.date_start as date_start, fd.date_end as date_end, fd.fk_product_fournisseur_price as fk_fournprice, fd.buy_price_ht as pa_ht, fd.info_bits, fd.special_code, fd.total_ht, fd.total_tva, fd.total_ttc, fd.total_localtax1, fd.total_localtax2, fd.rang, fd.fk_code_ventilation, fd.fk_unit, fd.fk_user_author, fd.fk_user_modif, fd.situation_percent, fd.fk_prev_id, fd.multicurrency_subprice, fd.multicurrency_total_ht, fd.multicurrency_total_tva, fd.multicurrency_total_ttc, p.ref as product_ref, p.label as product_label, p.description as product_desc FROM oe_facturedet as fd LEFT JOIN oe_product as p ON fd.fk_product = p.rowid WHERE fd.rowid = 16
2023-08-15 18:50:16 DEBUG 94.73.41.43 FactureLigne::update
2023-08-15 18:50:16 DEBUG 94.73.41.43 sql=UPDATE oe_facturedet SET description='10a Factura relativa al Presupuesto V-0818/2019 ACTUALIZACIÓN V –\r\nTratamiento de Patios y Medianerías en Calle Almansa 21 – (Madrid)\r\n1,00 Ud. TRABAJOS REALIZADOS DE REHABILITACIÓN EN\r\nPATIOS Y MEDIANERÍAS- PAGO 4/12 SEGÚN\r\nPRESUPUESTO V-0818/2019 ACT.V', ref_ext='', label=null, subprice=5560.26, remise_percent=0, fk_remise_except=null, vat_src_code = '', tva_tx=10, localtax1_tx=0, localtax2_tx=0, localtax1_type='3', localtax2_type='5', qty=1, date_start=null, date_end=null, product_type=1, info_bits='0', special_code='0', total_ht=5560.26, total_tva=556.03, total_ttc=6116.29, total_localtax1=0, total_localtax2=0, fk_product_fournisseur_price=null, buy_price_ht=0, fk_parent_line=null, situation_percent = 100, fk_unit = NULL, fk_user_modif = 1, multicurrency_subprice=5560.26, multicurrency_total_ht=5560.26, multicurrency_total_tva=556.03, multicurrency_total_ttc=6116.29 WHERE rowid = 16
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 3 AND product_type <> 9 ORDER by rowid
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 5560.26, total_tva = 556.03, localtax1 = 0, localtax2 = 0, total_ttc = 6116.29, multicurrency_total_ht = 5560.26, multicurrency_total_tva = 556.03, multicurrency_total_ttc = 6116.29 WHERE rowid = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:17 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:50:17 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:50:17 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:50:17 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 3 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:17 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:50:17 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:17 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3)/(PROV3).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:50:17 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV3)/(PROV3).pdf_preview.png
2023-08-15 18:50:17 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV3)' AND t.filename = '(PROV3).pdf' AND t.entity = 1
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:50:17 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:50:17 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = 'c75382bdcec51bc132b8cda8536b2cbf', label = '8e4ffd8ed3e805d98b8894a13fd7fccf', share = null, entity = 1, filename = '(PROV3).pdf', filepath = 'facture/(PROV3)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:50:01', fk_user_m = 1, acl = null, src_object_id = 3, src_object_type = 'facture' WHERE rowid=3
2023-08-15 18:50:17 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV3)/(PROV3).pdf' WHERE rowid = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 3 AND pfd.ext_payment_id IS NULL
2023-08-15 18:50:17 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV3)' AND te.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV3)' AND te.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type = 2
2023-08-15 18:50:17 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:50:17 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:17 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 3
2023-08-15 18:50:17 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:17 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 18:50:17 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 18:50:17 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 18:50:17 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 18:50:17 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 18:50:17 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 3
2023-08-15 18:50:17 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:17 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:50:17 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:17 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV3)'
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (3) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:17 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:50:17 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:50:17 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:50:17 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:50:18 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:18 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:18 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:18 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:18 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:18 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:18 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:18 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:18 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:50:18 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV3)/(PROV3).pdf_preview.png entity=1
2023-08-15 18:50:18 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV3)/(PROV3).pdf_preview.png filename=(PROV3).pdf_preview.png content-type=image/png
2023-08-15 18:50:18 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:50:24 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:24 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:24 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=valid, massaction=
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:24 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:24 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:24 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:24 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:24 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 3 AND pfd.ext_payment_id IS NULL
2023-08-15 18:50:24 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:24 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=COMUNIDAD DE PROPIETARIOS, type=, mode=next
2023-08-15 18:50:24 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:50:24 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2301-0003
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV3)' AND te.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV3)' AND te.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type = 2
2023-08-15 18:50:24 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:50:24 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 3
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:24 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV3) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:24 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:50:24 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:24 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV3)'
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (3) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:24 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:50:24 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:50:24 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:50:24 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:50:24 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:24 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:24 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:50:24 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV3)/(PROV3).pdf_preview.png entity=1
2023-08-15 18:50:24 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV3)/(PROV3).pdf_preview.png filename=(PROV3).pdf_preview.png content-type=image/png
2023-08-15 18:50:24 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:50:26 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:26 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:26 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=confirm_valid, massaction=
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:26 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:26 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:50:26 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=COMUNIDAD DE PROPIETARIOS, type=, mode=next
2023-08-15 18:50:26 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:50:26 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2301-0003
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 3 AND product_type <> 9 ORDER by rowid
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 5560.26, total_tva = 556.03, localtax1 = 0, localtax2 = 0, total_ttc = 6116.29, multicurrency_total_ht = 5560.26, multicurrency_total_tva = 556.03, multicurrency_total_ttc = 6116.29 WHERE rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::validate
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref = 'IN2301-0003', fk_statut = 1, fk_user_valid = 1, date_valid = '2023-08-15 20:50:26' WHERE rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET client = 1 WHERE rowid = 3
2023-08-15 18:50:26 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 3 AND targettype = 'facture' AND sourcetype = 'commande' ORDER BY sourcetype
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 3 AND targettype = 'facture' AND sourcetype = 'propal' ORDER BY sourcetype
2023-08-15 18:50:26 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=3
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 18:50:26 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 20:50:26', '2023-08-15 20:50:26', '2023-08-15 20:50:26', null, 40,'AC_BILL_VALIDATE', null, 3, null, 'Factura IN2301-0003 validada', null, 1, 1, null, 'Factura IN2301-0003 validada', '-1', '0', '0', '', '0', 3, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='25' WHERE id=25
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(25, 'user', 1, 0, 0, 0)
2023-08-15 18:50:26 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=3
2023-08-15 18:50:26 DEBUG 94.73.41.43 BlockedLog::create action=BILL_VALIDATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 20:50:26','BILL_VALIDATE',6116.29,'da581f8ef2bfaf920194420ac2564934e1293814913613c3e095613e9d073398','dc2a80e3a9ff1fcee1e95be70b3cc1fdbbe08c667855f20f547094418f932fb3','facture',3,'2023-01-31 00:00:00','IN2301-0003','O:8:\"stdClass\":10:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:25:\"COMUNIDAD DE PROPIETARIOS\";s:10:\"name_alias\";s:25:\"COMUNIDAD DE PROPIETARIOS\";s:7:\"address\";s:36:\"Calle Almansa, no. 21, 28039 MADRID.\";s:3:\"zip\";s:10:\"H-79822862\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00003\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:4:\"date\";i:1675119600;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";d:5560.26;s:9:\"total_tva\";d:556.03;s:9:\"total_ttc\";d:6116.29;s:12:\"revenuestamp\";s:10:\"0.00000000\";s:11:\"invoiceline\";a:1:{i:1;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"5560.26000000\";s:23:\"multicurrency_total_tva\";s:12:\"556.03000000\";s:23:\"multicurrency_total_ttc\";s:13:\"6116.29000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"1\";s:6:\"tva_tx\";s:7:\"10.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"5560.26000000\";s:9:\"total_tva\";s:12:\"556.03000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"6116.29000000\";s:9:\"info_bits\";s:1:\"0\";}}s:3:\"ref\";s:11:\"IN2301-0003\";}','',0,1,'SuperAdmin',1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files set filename = CONCAT('IN2301-0003', SUBSTR(filename, 8)), filepath = 'facture/IN2301-0003' WHERE filename LIKE '(PROV3)%' AND filepath = 'facture/(PROV3)' and entity = 1
2023-08-15 18:50:26 INFO 94.73.41.43 Facture::validate rename dir /home/iymllvj/oteimsa/admin/documents/facture/(PROV3) into /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003
2023-08-15 18:50:26 INFO 94.73.41.43 Rename ok
2023-08-15 18:50:26 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=1 filter=^\(PROV3\) excludefilter=null
2023-08-15 18:50:26 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:26 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:50:26 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:50:26 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:50:26 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 3 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:26 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:50:26 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:26 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003/IN2301-0003.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:50:26 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003/IN2301-0003.pdf_preview.png
2023-08-15 18:50:26 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2301-0003' AND t.filename = 'IN2301-0003.pdf' AND t.entity = 1
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:50:26 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:50:26 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '6ce3a68a668643129f7931307bc70635', label = '60e04ec3f5d704873a931e02941b6565', share = null, entity = 1, filename = 'IN2301-0003.pdf', filepath = 'facture/IN2301-0003', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:50:01', fk_user_m = 1, acl = null, src_object_id = 3, src_object_type = 'facture' WHERE rowid=3
2023-08-15 18:50:26 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2301-0003/IN2301-0003.pdf' WHERE rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 3 AND pfd.ext_payment_id IS NULL
2023-08-15 18:50:26 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2301-0003' AND te.entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2301-0003' AND te.entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type = 2
2023-08-15 18:50:26 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:50:26 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:26 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 3
2023-08-15 18:50:26 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=COMUNIDAD DE PROPIETARIOS, type=, mode=last
2023-08-15 18:50:26 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0003' AND entity IN (1) ORDER BY ref DESC
2023-08-15 18:50:26 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:26 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:26 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:50:26 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:50:26 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:50:26 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2301-0003'
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (3) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:50:27 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:50:27 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 25
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 25 AND element_type IN ('user', 'socpeople')
2023-08-15 18:50:27 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:50:27 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:50:27 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:27 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:27 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:50:27 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2301-0003/IN2301-0003.pdf_preview.png entity=1
2023-08-15 18:50:27 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003/IN2301-0003.pdf_preview.png filename=IN2301-0003.pdf_preview.png content-type=image/png
2023-08-15 18:50:27 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:50:30 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:30 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:30 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:50:30 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:50:30 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:50:30 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:50:30 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:50:30 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:50:30 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:50:30 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:50:30 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:50:30 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:50:30 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:50:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:50:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:50:30 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:30 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:30 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:50:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:50:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:50:30 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:30 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:30 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:50:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:35 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/comm/card.php - action=, massaction=
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT COUNT(p.rowid) as nb FROM oe_socpeople as p WHERE p.fk_soc = 2
2023-08-15 18:50:35 DEBUG 94.73.41.43 SocieteAccount::getCustomerAccount Try to find the first system customer id for stripe of thirdparty id=2 (exemple: cus_.... for stripe)
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT sa.key_account as key_account, sa.entity FROM oe_societe_account as sa WHERE sa.fk_soc = 2 AND sa.entity IN (1) AND sa.site = 'stripe' AND sa.status = 0 AND sa.key_account IS NOT NULL AND sa.key_account <> '' AND (sa.site_account = '' OR sa.site_account IS NULL OR sa.site_account = '') ORDER BY sa.site_account DESC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT COUNT(n.rowid) as nb FROM oe_societe_rib as n WHERE n.fk_soc = 2 AND (n.stripe_card_ref IS NULL OR (n.stripe_card_ref IS NOT NULL AND n.status = 0))
2023-08-15 18:50:35 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/societe/2 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'societe' AND objectid = 2 AND entity = 1
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT COUNT(id) as nb FROM oe_actioncomm WHERE fk_soc = 2
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT MAX(te.rowid) FROM oe_societe as te WHERE te.rowid < '2' AND te.client in (1,2,3) AND te.entity IN (1)
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT MIN(te.rowid) FROM oe_societe as te WHERE te.rowid > '2' AND te.client in (1,2,3) AND te.entity IN (1)
2023-08-15 18:50:35 INFO 94.73.41.43 Client::check_codeclient code_client=CU2308-00002 module=mod_codeclient_monkey
2023-08-15 18:50:35 DEBUG 94.73.41.43 mod_codeclient_monkey::verif_dispo
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_societe WHERE code_client = 'CU2308-00002' AND entity IN (1) AND rowid <> 2
2023-08-15 18:50:35 INFO 94.73.41.43 mod_codeclient_monkey::verif code=CU2308-00002 type=0 result=0
2023-08-15 18:50:35 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT ct.fk_categorie, c.label, c.rowid FROM oe_categorie_societe as ct, oe_categorie as c WHERE ct.fk_categorie = c.rowid AND ct.fk_soc = 2 AND c.entity IN (1)
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.login, u.lastname, u.firstname, u.office_phone, u.job, u.email, u.statut as status, u.entity, u.photo, u.gender, u.office_fax, u.user_mobile, u.personal_mobile FROM oe_societe_commerciaux as sc, oe_user as u WHERE entity in (0, 1) AND u.rowid = sc.fk_user AND sc.fk_soc = 2 ORDER BY u.lastname ASC, u.firstname ASC
2023-08-15 18:50:35 DEBUG 94.73.41.43 getOutstandingProposals for fk_soc = 2
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, fk_statut as status FROM oe_propal as f WHERE fk_soc = 2 AND entity IN (1)
2023-08-15 18:50:35 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:35 DEBUG 94.73.41.43 getOutstandingOrders
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, fk_statut as status FROM oe_commande as f WHERE fk_soc = 2 AND entity IN (1)
2023-08-15 18:50:35 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 2 AND entity IN (1)
2023-08-15 18:50:35 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 2 AND date_lim_reglement < '2023-08-15 20:50:35' AND entity IN (1)
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT s.nom, s.rowid, p.rowid as propalid, p.fk_statut, p.total_ht, p.total_tva, p.total_ttc, p.ref, p.ref_client, p.remise, p.datep as dp, p.fin_validite as date_limit, p.entity FROM oe_societe as s, oe_propal as p, oe_c_propalst as c WHERE p.fk_soc = s.rowid AND p.fk_statut = c.id AND s.rowid = 2 AND p.entity IN (1) ORDER BY p.datep DESC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT s.nom, s.rowid, c.rowid as cid, c.entity, c.total_ht, c.total_tva, c.total_ttc, c.ref, c.ref_client, c.fk_statut, c.facture, c.date_commande as dc, c.facture as billed FROM oe_societe as s, oe_commande as c WHERE c.fk_soc = s.rowid AND s.rowid = 2 AND c.entity IN (1) ORDER BY c.date_commande DESC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT e.rowid as id, e.ref, e.entity, e.date_creation, e.fk_statut as statut, s.nom, s.rowid as socid FROM oe_societe as s, oe_expedition as e WHERE e.fk_soc = s.rowid AND s.rowid = 2 AND e.entity IN (1) GROUP BY e.rowid, e.ref, e.entity, e.date_creation, e.fk_statut, s.nom, s.rowid ORDER BY e.date_creation DESC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT s.nom, s.rowid, c.rowid as id, c.ref as ref, c.statut as contract_status, c.datec as dc, c.date_contrat as dcon, c.ref_customer as refcus, c.ref_supplier as refsup, c.entity, c.last_main_doc, c.model_pdf FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND s.rowid = 2 AND c.entity IN (1) ORDER BY c.datec DESC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT s.nom, s.rowid, f.rowid as id, f.ref, f.fk_statut, f.duree as duration, f.datei as startdate, f.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND s.rowid = 2 AND f.entity IN (1) ORDER BY f.tms DESC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.titre as ref, f.total_ht, f.total_tva, f.total_ttc, f.datec as dc, f.date_last_gen, f.date_when, f.frequency, f.unit_frequency, f.suspended as suspended, s.nom, s.rowid as socid FROM oe_societe as s,oe_facture_rec as f WHERE f.fk_soc = s.rowid AND s.rowid = 2 AND f.entity IN (1) GROUP BY f.rowid, f.titre, f.total_ht, f.total_tva, f.total_ttc, f.date_last_gen, f.datec, f.frequency, f.unit_frequency, f.suspended, f.date_when, s.nom, s.rowid ORDER BY f.date_last_gen, f.datec DESC
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.entity, f.datef as df, f.datec as dc, f.paye as paye, f.fk_statut as status, s.nom, s.rowid as socid, SUM(pf.amount) as am FROM oe_societe as s,oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND s.rowid = 2 AND f.entity IN (1) GROUP BY f.rowid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.entity, f.datef, f.datec, f.paye, f.fk_statut, s.nom, s.rowid ORDER BY f.datef DESC, f.datec DESC
2023-08-15 18:50:35 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:35 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2303-0002'
2023-08-15 18:50:35 INFO 94.73.41.43 --- End access to /admin/htdocs/comm/card.php
2023-08-15 18:50:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:45 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:45 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2
2023-08-15 18:50:45 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 2 AND entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:45 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 2 ORDER BY f.ref
2023-08-15 18:50:45 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 2 ORDER BY f.ref
2023-08-15 18:50:45 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 18:50:45 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:50:45 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 18:50:45 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:50:45 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 18:50:45 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:50:45 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:50:45 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:50:45 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:50:45 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:50:48 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:48 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:48 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:48 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:50:48 DEBUG 94.73.41.43 ROLLBACK Transaction
2023-08-15 18:50:48 WARNING 94.73.41.43 Try to add a message in stack with empty message
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:48 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2
2023-08-15 18:50:48 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 2 AND entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:48 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 2 ORDER BY f.ref
2023-08-15 18:50:48 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 2 ORDER BY f.ref
2023-08-15 18:50:48 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 18:50:48 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:50:48 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 18:50:48 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:50:48 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 18:50:48 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:50:48 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:50:48 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:50:48 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 18:50:48 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:50:51 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:51 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:51 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:50:51 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:50:51 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:50:51 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:50:51 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:50:51 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:50:51 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:50:51 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:50:51 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:50:51 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:50:51 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:50:51 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:50:51 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:50:51 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:51 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:51 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:51 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:51 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:51 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:50:51 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:50:51 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:51 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:50:51 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:51 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:51 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:50:56 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:50:56 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:50:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:50:56 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:50:56 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:50:56 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:50:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:50:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:50:56 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=validate
2023-08-15 18:50:56 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:50:56 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:57 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:50:57 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=0
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 2 AND product_type <> 9 ORDER by rowid
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 11832.79, total_tva = 2484.86, localtax1 = 0, localtax2 = 0, total_ttc = 14317.65, multicurrency_total_ht = 11832.79, multicurrency_total_tva = 2484.86, multicurrency_total_ttc = 14317.65 WHERE rowid = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::validate
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref = 'IN2303-0002', fk_statut = 1, fk_user_valid = 1, date_valid = '2023-08-15 20:50:57' WHERE rowid = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET client = 1 WHERE rowid = 2
2023-08-15 18:50:57 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=2
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 2 AND targettype = 'facture' AND sourcetype = 'commande' ORDER BY sourcetype
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 2 AND targettype = 'facture' AND sourcetype = 'propal' ORDER BY sourcetype
2023-08-15 18:50:57 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=2
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 18:50:57 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 20:50:57', '2023-08-15 20:50:57', '2023-08-15 20:50:57', null, 40,'AC_BILL_VALIDATE', null, 2, null, 'Factura IN2303-0002 validada', null, 1, 1, null, 'Factura IN2303-0002 validada', '-1', '0', '0', '', '0', 2, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='26' WHERE id=26
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(26, 'user', 1, 0, 0, 0)
2023-08-15 18:50:57 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=2
2023-08-15 18:50:57 DEBUG 94.73.41.43 BlockedLog::create action=BILL_VALIDATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 20:50:57','BILL_VALIDATE',14317.65,'7054aef3d0b042842a3bb4b1bee686db0d5ccb2f4217bbe95200993a686b4265','5891953112a0fbb755e3be26ffd08f0ed5a5ee555b418f9bca24207d921eb339','facture',2,'2023-03-03 00:00:00','IN2303-0002','O:8:\"stdClass\":10:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:39:\"TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL\";s:10:\"name_alias\";s:39:\"TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL\";s:7:\"address\";s:37:\"C/. Rafael Calvo, no. 3, 28010 MADRID\";s:7:\"idprof1\";s:9:\"B-8701497\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00002\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:4:\"date\";i:1677798000;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";d:11832.79;s:9:\"total_tva\";d:2484.86;s:9:\"total_ttc\";d:14317.65;s:12:\"revenuestamp\";s:10:\"0.00000000\";s:11:\"invoiceline\";a:14:{i:1;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"628.00000000\";s:23:\"multicurrency_total_tva\";s:12:\"131.88000000\";s:23:\"multicurrency_total_ttc\";s:12:\"759.88000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:3:\"400\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"628.00000000\";s:9:\"total_tva\";s:12:\"131.88000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"759.88000000\";s:9:\"info_bits\";s:1:\"0\";}i:2;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:11:\"57.30000000\";s:23:\"multicurrency_total_tva\";s:11:\"12.03000000\";s:23:\"multicurrency_total_ttc\";s:11:\"69.33000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:2:\"30\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:11:\"57.30000000\";s:9:\"total_tva\";s:11:\"12.03000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:11:\"69.33000000\";s:9:\"info_bits\";s:1:\"0\";}i:3;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"1785.00000000\";s:23:\"multicurrency_total_tva\";s:12:\"374.85000000\";s:23:\"multicurrency_total_ttc\";s:13:\"2159.85000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"187.5\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"1785.00000000\";s:9:\"total_tva\";s:12:\"374.85000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"2159.85000000\";s:9:\"info_bits\";s:1:\"0\";}i:4;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"911.25000000\";s:23:\"multicurrency_total_tva\";s:12:\"191.36000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1102.61000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"187.5\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"911.25000000\";s:9:\"total_tva\";s:12:\"191.36000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1102.61000000\";s:9:\"info_bits\";s:1:\"0\";}i:5;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"2755.76000000\";s:23:\"multicurrency_total_tva\";s:12:\"578.70000000\";s:23:\"multicurrency_total_ttc\";s:13:\"3334.46000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:6:\"184.95\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"2755.76000000\";s:9:\"total_tva\";s:12:\"578.70000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"3334.46000000\";s:9:\"info_bits\";s:1:\"0\";}i:6;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"954.80000000\";s:23:\"multicurrency_total_tva\";s:12:\"200.51000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1155.31000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"123.2\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"954.80000000\";s:9:\"total_tva\";s:12:\"200.51000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1155.31000000\";s:9:\"info_bits\";s:1:\"0\";}i:7;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"154.00000000\";s:23:\"multicurrency_total_tva\";s:11:\"32.34000000\";s:23:\"multicurrency_total_ttc\";s:12:\"186.34000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:2:\"22\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"154.00000000\";s:9:\"total_tva\";s:11:\"32.34000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"186.34000000\";s:9:\"info_bits\";s:1:\"0\";}i:8;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"675.00000000\";s:23:\"multicurrency_total_tva\";s:12:\"141.75000000\";s:23:\"multicurrency_total_ttc\";s:12:\"816.75000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:3:\"675\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"675.00000000\";s:9:\"total_tva\";s:12:\"141.75000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"816.75000000\";s:9:\"info_bits\";s:1:\"0\";}i:9;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"1404.43000000\";s:23:\"multicurrency_total_tva\";s:12:\"294.93000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1699.36000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:4:\"13.8\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"1404.43000000\";s:9:\"total_tva\";s:12:\"294.93000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1699.36000000\";s:9:\"info_bits\";s:1:\"0\";}i:10;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"661.31000000\";s:23:\"multicurrency_total_tva\";s:12:\"138.87000000\";s:23:\"multicurrency_total_ttc\";s:12:\"800.18000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:4:\"7.75\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"661.31000000\";s:9:\"total_tva\";s:12:\"138.87000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"800.18000000\";s:9:\"info_bits\";s:1:\"0\";}i:11;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:11:\"22.00000000\";s:23:\"multicurrency_total_tva\";s:10:\"4.62000000\";s:23:\"multicurrency_total_ttc\";s:11:\"26.62000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"1\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:11:\"22.00000000\";s:9:\"total_tva\";s:10:\"4.62000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:11:\"26.62000000\";s:9:\"info_bits\";s:1:\"0\";}i:12;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"1124.24000000\";s:23:\"multicurrency_total_tva\";s:12:\"236.08000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1360.32000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"54.18\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"1124.24000000\";s:9:\"total_tva\";s:12:\"236.08000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1360.32000000\";s:9:\"info_bits\";s:1:\"0\";}i:13;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"655.70000000\";s:23:\"multicurrency_total_tva\";s:12:\"137.70000000\";s:23:\"multicurrency_total_ttc\";s:12:\"793.40000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:5:\"20.75\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"655.70000000\";s:9:\"total_tva\";s:12:\"137.70000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"793.40000000\";s:9:\"info_bits\";s:1:\"0\";}i:14;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:11:\"44.00000000\";s:23:\"multicurrency_total_tva\";s:10:\"9.24000000\";s:23:\"multicurrency_total_ttc\";s:11:\"53.24000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"2\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:50:57 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:50:57 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:50:57 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:50:57 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:50:57 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 18:50:57 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:50:57 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:50:57 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png
2023-08-15 18:50:57 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2303-0002' AND t.filename = 'IN2303-0002.pdf' AND t.entity = 1
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:50:57 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '97637c2afcb8ac44a250e3287977227a', label = '35ffa4792362785ef0a975a23854ed55', share = null, entity = 1, filename = 'IN2303-0002.pdf', filepath = 'facture/IN2303-0002', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2303-0002/IN2303-0002.pdf' WHERE rowid = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:50:57 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:50:57 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:50:57 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:50:57 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:50:57 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:50:57 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:50:57 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:50:57 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:50:57 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:50:57 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:50:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:50:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:50:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:50:57 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:50:57 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:50:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:50:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:50:57 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 18:50:57 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:51:02 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:02 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:02 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:51:02 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 3 AND pfd.ext_payment_id IS NULL
2023-08-15 18:51:02 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2301-0003' AND te.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2301-0003' AND te.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type = 2
2023-08-15 18:51:02 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:51:02 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 3
2023-08-15 18:51:02 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=COMUNIDAD DE PROPIETARIOS, type=, mode=last
2023-08-15 18:51:02 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0003' AND entity IN (1) ORDER BY ref DESC
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:02 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:02 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:51:02 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:51:02 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2301-0003'
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (3) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:02 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:51:02 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:51:02 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 25
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 25 AND element_type IN ('user', 'socpeople')
2023-08-15 18:51:02 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:51:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:51:02 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:51:03 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:03 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:03 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:03 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:03 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:51:03 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2301-0003/IN2301-0003.pdf_preview.png entity=1
2023-08-15 18:51:03 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003/IN2301-0003.pdf_preview.png filename=IN2301-0003.pdf_preview.png content-type=image/png
2023-08-15 18:51:03 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:51:05 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:05 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:05 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=editpaymentterm, massaction=
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:51:05 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 3 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 3 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 3 AND pfd.ext_payment_id IS NULL
2023-08-15 18:51:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2301-0003' AND te.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2301-0003' AND te.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type = 2
2023-08-15 18:51:05 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:51:05 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 3
2023-08-15 18:51:05 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=COMUNIDAD DE PROPIETARIOS, type=, mode=last
2023-08-15 18:51:05 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0003' AND entity IN (1) ORDER BY ref DESC
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:05 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:51:05 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 3 AND entity = 1
2023-08-15 18:51:05 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2301-0003'
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (3) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (3) AND t.entity IN (1)
2023-08-15 18:51:05 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:51:05 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 3 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:51:05 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 25
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 25 AND element_type IN ('user', 'socpeople')
2023-08-15 18:51:05 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:51:05 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:51:05 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:05 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:05 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:51:05 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2301-0003/IN2301-0003.pdf_preview.png entity=1
2023-08-15 18:51:05 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003/IN2301-0003.pdf_preview.png filename=IN2301-0003.pdf_preview.png content-type=image/png
2023-08-15 18:51:05 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:51:08 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:08 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:08 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:51:08 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:51:08 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:08 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:51:08 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:08 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:08 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:08 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:51:08 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:08 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:08 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:51:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:08 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:08 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:51:13 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:13 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=validate
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:13 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:51:13 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=0
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:13 WARNING 94.73.41.43 Facture::validate status is not draft. operation canceled.
2023-08-15 18:51:13 DEBUG 94.73.41.43 ROLLBACK Transaction
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:51:13 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:51:13 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:13 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:51:13 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:13 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:13 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:13 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:51:13 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:13 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:13 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:13 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:13 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:13 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:13 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:13 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:13 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:13 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 18:51:13 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:51:15 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:15 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:15 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:15 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:15 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:15 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:15 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:51:15 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 18:51:15 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:15 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:15 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:15 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:51:15 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 2 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 18:51:15 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:51:15 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 2 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 2 AND pfd.ext_payment_id IS NULL
2023-08-15 18:51:15 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 18:51:15 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2303-0002' AND te.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type = 2
2023-08-15 18:51:16 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 18:51:16 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:51:16 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 2
2023-08-15 18:51:16 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:51:16 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 2
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 2
2023-08-15 18:51:16 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL, type=, mode=last
2023-08-15 18:51:16 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0003' AND entity IN (1) ORDER BY ref DESC
2023-08-15 18:51:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:16 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 18:51:16 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 2 AND entity = 1
2023-08-15 18:51:16 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2303-0002'
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (2) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (2) AND t.entity IN (1)
2023-08-15 18:51:16 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:51:16 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 2 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 18:51:16 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 26
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 26 AND element_type IN ('user', 'socpeople')
2023-08-15 18:51:16 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 24
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 24 AND element_type IN ('user', 'socpeople')
2023-08-15 18:51:16 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 23
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 23 AND element_type IN ('user', 'socpeople')
2023-08-15 18:51:16 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 18:51:16 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 18:51:16 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:16 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 18:51:16 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2303-0002/IN2303-0002.pdf_preview.png entity=1
2023-08-15 18:51:16 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png filename=IN2303-0002.pdf_preview.png content-type=image/png
2023-08-15 18:51:16 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 18:51:28 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:28 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:28 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:51:28 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:51:28 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:28 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:51:28 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:28 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:28 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:28 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:51:28 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:28 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:28 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:51:28 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:28 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:28 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:28 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:28 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:28 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:28 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:28 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:28 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:28 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:28 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:51:35 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:35 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:35 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=makepayment
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:35 DEBUG 94.73.41.43 Form::select_types_paiements , paiementid, , 0
2023-08-15 18:51:35 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:51:35 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:51:35 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:51:35 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:51:36 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:36 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:51:36 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:36 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:36 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:36 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:51:36 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:36 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:36 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:51:36 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:36 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:36 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:36 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:36 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:36 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:36 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:36 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:36 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:36 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:36 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:36 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:36 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:36 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 18:51:36 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:51:39 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:39 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=makepayment_confirm, massaction=
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:51:39 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:51:39 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:39 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:51:39 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:39 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:39 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:39 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:51:39 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:39 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:39 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:51:39 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:39 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:39 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:39 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:39 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:39 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:39 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:39 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:39 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:39 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:39 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:39 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 18:51:39 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:51:48 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:48 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:48 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=makepayment
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:48 DEBUG 94.73.41.43 Form::select_types_paiements , paiementid, , 0
2023-08-15 18:51:48 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:51:48 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:51:48 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:51:48 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:48 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:48 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:48 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:51:48 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:48 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:48 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:51:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:48 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:48 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:48 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:48 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:48 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:48 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:48 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:48 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:48 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 18:51:48 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 18:51:53 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 18:51:53 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 18:51:53 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=makepayment_confirm, massaction=
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:53 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 18:51:53 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:51:53 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:53 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:53 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:53 INFO 94.73.41.43 Facture::setBankAccount(1)
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_account = 1 WHERE rowid=2
2023-08-15 18:51:53 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'FACTURE_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=2
2023-08-15 18:51:53 DEBUG 94.73.41.43 MultiCurrency::getInvoiceRate
2023-08-15 18:51:53 DEBUG 94.73.41.43 sql=SELECT multicurrency_tx FROM oe_facture WHERE rowid = 2
2023-08-15 18:51:53 DEBUG 94.73.41.43 Paiement::create insert paiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 9) AS SIGNED)) as max FROM oe_paiement WHERE ref LIKE 'PAY____-%' AND entity = 1
2023-08-15 18:51:54 INFO 94.73.41.43 mod_payment_cicada::getNextValue return PAY2305-0002
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement (entity, ref, ref_ext, datec, datep, amount, multicurrency_amount, fk_paiement, num_paiement, note, ext_payment_id, ext_payment_site, fk_user_creat, pos_change) VALUES (1, 'PAY2305-0002', '', '2023-08-15 20:51:53', '2023-05-19 12:00:00', 14317.65, 14317.65, 2, '', '', null, null, 1, 0)
2023-08-15 18:51:54 DEBUG 94.73.41.43 Paiement::create Amount line 2 insert paiement_facture
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement_facture (fk_facture, fk_paiement, amount, multicurrency_amount) VALUES (2, 2, 14317.65, 14317.65)
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::setPaid rowid=2
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_statut=2, paye=1, fk_user_closing = 1, date_closing = '2023-08-15 20:51:54' WHERE rowid = 2
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=2
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=2
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 18:51:54 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 18:51:54 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 20:51:54', '2023-08-15 20:51:54', '2023-08-15 20:51:54', null, 40,'AC_BILL_PAYED', null, 2, null, 'Factura IN2303-0002 pasada a pagada', null, 1, 1, null, 'Factura IN2303-0002 pasada a pagada', '-1', '0', '0', '', '0', 2, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='27' WHERE id=27
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(27, 'user', 1, 0, 0, 0)
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Paiement::create Regenerate the document after inserting payment for thirdparty default_lang=null
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:51:54 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:51:54 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 2 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:51:54 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 2 AND sourcetype = 'facture') OR (fk_target = 2 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 2 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 2 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:51:54 INFO 94.73.41.43 bottomlasttab=221 this->page_hauteur=297 heightforinfotot=54 heightforfreetext=5 heightforfooter=18
2023-08-15 18:51:54 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.multicurrency_amount_ht, re.amount_tva, re.multicurrency_amount_tva, re.amount_ttc, re.multicurrency_amount_ttc, re.description, re.fk_facture_source, f.type, f.datef FROM oe_societe_remise_except as re, oe_facture as f WHERE re.fk_facture_source = f.rowid AND re.fk_facture = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT p.datep as date, p.fk_paiement, p.num_paiement as num, pf.amount as amount, pf.multicurrency_amount, cp.code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as cp ON p.fk_paiement = cp.id WHERE pf.fk_paiement = p.rowid AND pf.fk_facture = 2 ORDER BY p.datep
2023-08-15 18:51:54 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:51:54 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002/IN2303-0002.pdf_preview.png
2023-08-15 18:51:54 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2303-0002' AND t.filename = 'IN2303-0002.pdf' AND t.entity = 1
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 18:51:54 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '97637c2afcb8ac44a250e3287977227a', label = '0894f39b81ee9996cc720f3d700815da', share = null, entity = 1, filename = 'IN2303-0002.pdf', filepath = 'facture/IN2303-0002', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:34:15', fk_user_m = 1, acl = null, src_object_id = 2, src_object_type = 'facture' WHERE rowid=2
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2303-0002/IN2303-0002.pdf' WHERE rowid = 2
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_CUSTOMER_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=2
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT pf.fk_facture FROM oe_paiement_facture as pf, oe_facture as f WHERE pf.fk_facture = f.rowid AND pf.fk_paiement = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key 2 not found into cache)
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_paiement WHERE id = '2'
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 BlockedLog::create action=PAYMENT_CUSTOMER_CREATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 20:51:54','PAYMENT_CUSTOMER_CREATE',14317.65,'1a84240c0f7ff9134b085a50cfa9220cd975d68b0f1a0d95c250df91cc55c90f','97ad7255b16d19037474eb9d56ecd5e63a9d61baedd47facba4a7fffb1947647','payment',2,'2023-05-19 12:00:00','PAY2305-0002','O:8:\"stdClass\":7:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:39:\"TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL\";s:10:\"name_alias\";s:39:\"TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL\";s:7:\"address\";s:37:\"C/. Rafael Calvo, no. 3, 28010 MADRID\";s:7:\"idprof1\";s:9:\"B-8701497\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00002\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:3:\"ref\";s:12:\"PAY2305-0002\";s:4:\"date\";i:1684490400;s:9:\"type_code\";s:3:\"VIR\";s:12:\"payment_part\";a:1:{i:1;O:8:\"stdClass\":3:{s:6:\"amount\";s:8:\"14317.65\";s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:39:\"TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL\";s:10:\"name_alias\";s:39:\"TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL\";s:7:\"address\";s:37:\"C/. Rafael Calvo, no. 3, 28010 MADRID\";s:7:\"idprof1\";s:9:\"B-8701497\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00002\";s:12:\"country_code\";s:2:\"ES\";}s:7:\"invoice\";O:8:\"stdClass\":7:{s:4:\"date\";i:1677798000;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";s:14:\"11832.79000000\";s:9:\"total_tva\";s:13:\"2484.86000000\";s:9:\"total_ttc\";s:14:\"14317.65000000\";s:12:\"revenuestamp\";s:10:\"0.00000000\";s:3:\"ref\";s:11:\"IN2303-0002\";}}}s:6:\"amount\";d:14317.65;}','',0,1,'SuperAdmin',1)
2023-08-15 18:51:54 INFO 94.73.41.43 addPaymentToBank 1, payment, , 1, ,
2023-08-15 18:51:54 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:51:54 WARNING 94.73.41.43 Account::addline: using numeric operations is deprecated
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT code FROM oe_c_paiement WHERE id = 2 AND entity IN (1)
2023-08-15 18:51:54 DEBUG 94.73.41.43 AccountLine::insert
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank (datec, dateo, datev, label, amount, amount_main_currency, fk_user_author, num_chq, fk_account, fk_type, emetteur,banque, rappro, numero_compte, num_releve) VALUES ('2023-08-15 20:51:54', '2023-05-19 12:00:00', '2023-05-19 12:00:00', '', 14317.65, NULL, 1, null, '1', 'VIR', null, null, 0, '', null)
2023-08-15 18:51:54 DEBUG 94.73.41.43 Paiement::update_fk_bank
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_paiement set fk_bank = 3 WHERE rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 3, 2, '/admin/htdocs/compta/paiement/card.php?id=', '(paiement)', 'payment')
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 2 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 3, 2, '/admin/htdocs/comm/card.php?socid=', 'TRAZO GESTIÓN INTEGRAL DE PROYECTOS,SL', 'company')
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_ADD_TO_BANK' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=2
2023-08-15 18:51:54 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:54 INFO 94.73.41.43 Facture::setBankAccount(1)
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_account = 1 WHERE rowid=3
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'FACTURE_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=3
2023-08-15 18:51:54 DEBUG 94.73.41.43 MultiCurrency::getInvoiceRate
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT multicurrency_tx FROM oe_facture WHERE rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Paiement::create insert paiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 9) AS SIGNED)) as max FROM oe_paiement WHERE ref LIKE 'PAY____-%' AND entity = 1
2023-08-15 18:51:54 INFO 94.73.41.43 mod_payment_cicada::getNextValue return PAY2305-0003
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement (entity, ref, ref_ext, datec, datep, amount, multicurrency_amount, fk_paiement, num_paiement, note, ext_payment_id, ext_payment_site, fk_user_creat, pos_change) VALUES (1, 'PAY2305-0003', '', '2023-08-15 20:51:54', '2023-05-19 12:00:00', 6116.29, 6116.29, 2, '', '', null, null, 1, 0)
2023-08-15 18:51:54 DEBUG 94.73.41.43 Paiement::create Amount line 3 insert paiement_facture
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement_facture (fk_facture, fk_paiement, amount, multicurrency_amount) VALUES (3, 3, 6116.29, 6116.29)
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::setPaid rowid=3
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_statut=2, paye=1, fk_user_closing = 1, date_closing = '2023-08-15 20:51:54' WHERE rowid = 3
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=3
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=3
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 18:51:54 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 20:51:54', '2023-08-15 20:51:54', '2023-08-15 20:51:54', null, 40,'AC_BILL_PAYED', null, 3, null, 'Factura IN2301-0003 pasada a pagada', null, 1, 1, null, 'Factura IN2301-0003 pasada a pagada', '-1', '0', '0', '', '0', 3, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='28' WHERE id=28
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(28, 'user', 1, 0, 0, 0)
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Paiement::create Regenerate the document after inserting payment for thirdparty default_lang=null
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 18:51:54 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 18:51:54 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 3 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 3 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 3 AND sourcetype = 'facture') OR (fk_target = 3 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 3 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 18:51:54 INFO 94.73.41.43 bottomlasttab=221 this->page_hauteur=297 heightforinfotot=54 heightforfreetext=5 heightforfooter=18
2023-08-15 18:51:54 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.multicurrency_amount_ht, re.amount_tva, re.multicurrency_amount_tva, re.amount_ttc, re.multicurrency_amount_ttc, re.description, re.fk_facture_source, f.type, f.datef FROM oe_societe_remise_except as re, oe_facture as f WHERE re.fk_facture_source = f.rowid AND re.fk_facture = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT p.datep as date, p.fk_paiement, p.num_paiement as num, pf.amount as amount, pf.multicurrency_amount, cp.code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as cp ON p.fk_paiement = cp.id WHERE pf.fk_paiement = p.rowid AND pf.fk_facture = 3 ORDER BY p.datep
2023-08-15 18:51:54 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003/IN2301-0003.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 18:51:54 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003/IN2301-0003.pdf_preview.png
2023-08-15 18:51:54 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2301-0003' AND t.filename = 'IN2301-0003.pdf' AND t.entity = 1
2023-08-15 18:51:54 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '6ce3a68a668643129f7931307bc70635', label = '59bf8c8db55ee3239ef284a21c3c009d', share = null, entity = 1, filename = 'IN2301-0003.pdf', filepath = 'facture/IN2301-0003', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 20:50:01', fk_user_m = 1, acl = null, src_object_id = 3, src_object_type = 'facture' WHERE rowid=3
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2301-0003/IN2301-0003.pdf' WHERE rowid = 3
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_CUSTOMER_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=3
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT pf.fk_facture FROM oe_paiement_facture as pf, oe_facture as f WHERE pf.fk_facture = f.rowid AND pf.fk_paiement = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 BlockedLog::create action=PAYMENT_CUSTOMER_CREATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 20:51:54','PAYMENT_CUSTOMER_CREATE',6116.29,'47efa76e21eb424fe8384ecbf2146d062040e2350c674c927822138e24fcf3d4','19b08dc9c09fa838d374ff1d71925d4163e014a4799fddb4139c761264f6d477','payment',3,'2023-05-19 12:00:00','PAY2305-0003','O:8:\"stdClass\":7:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:25:\"COMUNIDAD DE PROPIETARIOS\";s:10:\"name_alias\";s:25:\"COMUNIDAD DE PROPIETARIOS\";s:7:\"address\";s:36:\"Calle Almansa, no. 21, 28039 MADRID.\";s:3:\"zip\";s:10:\"H-79822862\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00003\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:3:\"ref\";s:12:\"PAY2305-0003\";s:4:\"date\";i:1684490400;s:9:\"type_code\";s:3:\"VIR\";s:12:\"payment_part\";a:1:{i:1;O:8:\"stdClass\":3:{s:6:\"amount\";s:7:\"6116.29\";s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:25:\"COMUNIDAD DE PROPIETARIOS\";s:10:\"name_alias\";s:25:\"COMUNIDAD DE PROPIETARIOS\";s:7:\"address\";s:36:\"Calle Almansa, no. 21, 28039 MADRID.\";s:3:\"zip\";s:10:\"H-79822862\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00003\";s:12:\"country_code\";s:2:\"ES\";}s:7:\"invoice\";O:8:\"stdClass\":7:{s:4:\"date\";i:1675119600;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";s:13:\"5560.26000000\";s:9:\"total_tva\";s:12:\"556.03000000\";s:9:\"total_ttc\";s:13:\"6116.29000000\";s:12:\"revenuestamp\";s:10:\"0.00000000\";s:3:\"ref\";s:11:\"IN2301-0003\";}}}s:6:\"amount\";d:6116.29;}','',0,1,'SuperAdmin',1)
2023-08-15 18:51:54 INFO 94.73.41.43 addPaymentToBank 1, payment, , 1, ,
2023-08-15 18:51:54 DEBUG 94.73.41.43 Account::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 18:51:54 WARNING 94.73.41.43 Account::addline: using numeric operations is deprecated
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT code FROM oe_c_paiement WHERE id = 2 AND entity IN (1)
2023-08-15 18:51:54 DEBUG 94.73.41.43 AccountLine::insert
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank (datec, dateo, datev, label, amount, amount_main_currency, fk_user_author, num_chq, fk_account, fk_type, emetteur,banque, rappro, numero_compte, num_releve) VALUES ('2023-08-15 20:51:54', '2023-05-19 12:00:00', '2023-05-19 12:00:00', '', 6116.29, NULL, 1, null, '1', 'VIR', null, null, 0, '', null)
2023-08-15 18:51:54 DEBUG 94.73.41.43 Paiement::update_fk_bank
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=UPDATE oe_paiement set fk_bank = 4 WHERE rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 4, 3, '/admin/htdocs/compta/paiement/card.php?id=', '(paiement)', 'payment')
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 3 ORDER BY l.rang, l.rowid
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 4, 3, '/admin/htdocs/comm/card.php?socid=', 'COMUNIDAD DE PROPIETARIOS', 'company')
2023-08-15 18:51:54 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_ADD_TO_BANK' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=3
2023-08-15 18:51:54 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 18:51:54 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 18:51:54 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:54 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 18:51:54 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:54 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:54 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 18:51:54 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 18:51:54 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 18:51:54 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 18:51:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 18:51:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:54 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 18:51:54 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 18:51:54 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 18:51:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 18:51:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 18:51:54 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 18:51:54 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:04:13 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:04:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:04:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:04:13 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:04:13 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:04:13 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:04:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:04:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:04:13 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:04:13 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:04:13 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:04:14 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 19:04:14 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 19:04:14 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:04:14 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:04:14 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:04:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:04:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:04:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:04:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:04:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:04:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:04:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:04:14 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:04:14 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:04:14 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:04:14 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:04:14 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:04:14 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:04:20 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:04:20 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/index.php - action=, massaction=
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:04:20 DEBUG 94.73.41.43 InfoBox::listBoxes get default box list for mode=activated userid=
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.position, b.box_order, b.fk_user, d.rowid as box_id, d.file, d.note, d.tms FROM oe_boxes as b, oe_boxes_def as d WHERE b.box_id = d.rowid AND b.entity IN (0,1) AND b.position = 0 AND b.fk_user = 0 ORDER BY b.box_order
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_fournisseurs::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, e.ref, e.tms, e.rowid, e.ref_customer, e.fk_statut, e.fk_user_valid, c.ref as commande_ref, c.rowid as commande_id FROM oe_expedition as e LEFT JOIN oe_element_element as el ON e.rowid = el.fk_target AND el.targettype = 'shipping' AND el.sourcetype IN ('commande') LEFT JOIN oe_commande as c ON el.fk_source = c.rowid AND el.sourcetype IN ('commande') AND el.targettype = 'shipping' LEFT JOIN oe_societe as s ON s.rowid = e.fk_soc WHERE e.entity IN (1) ORDER BY e.date_delivery, e.ref DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_shipments::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 box_ficheinter::loadBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.ref, f.fk_soc, f.fk_statut as status, f.datec, f.date_valid as datev, f.tms as datem, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_societe as s, oe_fichinter as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_ficheinter::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut as status, t.type_code, t.category_code, t.severity_code, t.datec, t.date_read, t.date_close, t.origin_email, type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.datec DESC, t.rowid DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_last_ticket::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT t.rowid as id, t.ref, t.track_id, t.fk_soc, t.fk_user_create, t.fk_user_assign, t.subject, t.message, t.fk_statut, t.type_code, t.category_code, t.severity_code, t.datec, t.tms as datem, t.date_read, t.date_close, t.origin_email , type.label as type_label, category.label as category_label, severity.label as severity_label, s.nom as company_name, s.email as socemail, s.client, s.fournisseur FROM oe_ticket as t LEFT JOIN oe_c_ticket_type as type ON type.code=t.type_code LEFT JOIN oe_c_ticket_category as category ON category.code=t.category_code LEFT JOIN oe_c_ticket_severity as severity ON severity.code=t.severity_code LEFT JOIN oe_societe as s ON s.rowid=t.fk_soc WHERE t.entity IN (1) ORDER BY t.tms DESC, t.rowid DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_last_modified_ticket::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.datec, c.tms as date_modification, c.fin_validite, c.date_cloture, c.ref_customer, c.ref_supplier FROM oe_societe as s, oe_contrat as c WHERE c.fk_soc = s.rowid AND c.entity = 1 ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_contracts::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.ref, c.statut as fk_statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, MIN(cd.date_fin_validite) as date_line, COUNT(cd.rowid) as nb_services FROM oe_contrat as c, oe_societe s, oe_contratdet as cd WHERE cd.statut = 4 AND cd.date_fin_validite <= '2023-08-15 21:04:20' AND c.entity = 1 AND c.fk_soc=s.rowid AND cd.fk_contrat=c.rowid AND c.statut > 0 GROUP BY c.rowid, c.ref, c.statut, c.date_contrat, c.ref_customer, c.ref_supplier, s.nom, s.rowid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur ORDER BY date_line ASC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_services_expired::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692113344.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692113344.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 box_graph_invoices_supplier_permonth::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692113344.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_supplier_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 box_graph_orders_supplier_permonth::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 CommandeStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 CommandeStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 box_graph_orders_permonth::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.date_lim_reglement as datelimite, f.datef as df, f.total_ht as total_ht, f.tva as total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.type, f.tms FROM oe_societe as s,oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 AND f.paye = 0 AND fk_statut = 1 ORDER BY datelimite DESC, f.ref_supplier DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_factures_fourn_imp::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, f.rowid as facid, f.ref, f.ref_supplier, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.datef as date, f.datec as datec, f.date_lim_reglement as datelimite, f.tms, f.type FROM oe_societe as s, oe_facture_fourn as f WHERE f.fk_soc = s.rowid AND f.entity = 1 ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_factures_fourn::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_supplier_orders::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.logo, s.email, s.entity, c.rowid, c.ref, c.tms, c.date_commande, c.date_livraison as delivery_date, c.total_ht, c.total_tva, c.total_ttc, c.fk_statut as status FROM oe_societe as s, oe_commande_fournisseur as c WHERE c.fk_soc = s.rowid AND c.entity IN (1) AND c.date_livraison IS NOT NULL AND c.fk_statut IN (3, 4) ORDER BY c.date_livraison ASC, c.fk_statut ASC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_supplier_orders_awaiting_reception::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_compta, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, f.ref, f.date_lim_reglement as datelimite, f.type, f.datef as date, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut as status, f.rowid as facid, sum(pf.amount) as am FROM oe_societe as s, oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid=pf.fk_facture WHERE f.fk_soc = s.rowid AND f.entity IN (1) AND f.paye = 0 AND fk_statut = 1 GROUP BY s.rowid, s.nom, s.name_alias, s.code_client, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren, s.siret, s.ape, s.idprof4, s.idprof5, s.idprof6, s.code_compta, f.ref, f.date_lim_reglement, f.type, f.datef, f.total_ht, f.total_tva, f.total_ttc, f.paye, f.fk_statut, f.rowid ORDER BY datelimite ASC, f.ref ASC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_factures_imp::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT f.rowid as facid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc, f.datef as date, f.paye, f.fk_statut as status, f.datec, f.tms, f.date_lim_reglement as datelimite, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.tva_intra, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6 FROM oe_facture as f, oe_societe as s WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.tms DESC, f.ref DESC LIMIT 5
2023-08-15 19:04:20 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:04:20 INFO 94.73.41.43 box_factures::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 FactureStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getNbByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 FactureStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAmountByMonthWithPrevYear_customer_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type= this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 box_graph_invoices_permonth::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 box_customers_outstanding_bill_reached::loadBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.outstanding_limit, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) AND s.outstanding_limit > 0 AND s.rowid IN (SELECT fk_soc from oe_facture as f WHERE f.fk_statut = 1 and f.fk_soc = s.rowid) ORDER BY s.tms DESC
2023-08-15 19:04:20 INFO 94.73.41.43 box_customers_outstanding_bill_reached::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 PropaleStats::getNbByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getNbByMonthWithPrevYear_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 PropaleStats::getAmountByMonthWithPrevYear read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/PropaleStats_getAmountByMonthWithPrevYear_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type=bars,bars,bars this->MaxValue=0
2023-08-15 19:04:20 INFO 94.73.41.43 box_graph_propales_permonth::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 box_birthdays::loadBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.firstname, u.lastname, u.birth as datea, date_format(u.birth, '%d') as daya, 'birth' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.birth, '%c') = '8' UNION SELECT u.rowid, u.firstname, u.lastname, u.dateemployment as datea, date_format(u.dateemployment, '%d') as daya, 'employment' as typea, u.email, u.statut as status FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut = 1 AND date_format( u.dateemployment, '%c') = '8' ORDER BY daya ASC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_birthdays::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT COUNT(DISTINCT u.rowid) as nb FROM oe_user as u WHERE u.entity IN (0,1) AND u.statut > 0
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(ex.rowid) as nb FROM oe_expensereport as ex WHERE ex.fk_statut > 0 AND ex.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb, s.client FROM oe_societe as s WHERE s.client IN (1,2,3) AND s.entity IN (1) GROUP BY s.client
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(s.rowid) as nb FROM oe_societe as s WHERE s.fournisseur = 1 AND s.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(sp.rowid) as nb FROM oe_socpeople as sp WHERE sp.entity IN (1) AND (sp.priv='0' OR (sp.priv='1' AND sp.fk_user_creat = 1))
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb, fk_product_type FROM oe_product as p WHERE p.entity IN (1) GROUP BY fk_product_type
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_propal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_supplier_proposal as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(co.rowid) as nb FROM oe_commande_fournisseur as co LEFT JOIN oe_societe as s ON co.fk_soc = s.rowid WHERE co.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(f.rowid) as nb FROM oe_facture_fourn as f LEFT JOIN oe_societe as s ON f.fk_soc = s.rowid WHERE f.entity = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(c.rowid) as nb FROM oe_contrat as c LEFT JOIN oe_societe as s ON c.fk_soc = s.rowid WHERE c.entity = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(fi.rowid) as nb FROM oe_fichinter as fi LEFT JOIN oe_societe as s ON fi.fk_soc = s.rowid WHERE fi.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(p.rowid) as nb FROM oe_ticket as p LEFT JOIN oe_societe as s ON p.fk_soc = s.rowid WHERE p.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT count(r.rowid) as nb FROM oe_resource as r WHERE r.entity IN (1)
2023-08-15 19:04:20 INFO 94.73.41.43 box_dolibarr_state_board::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 box_actions::loadBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT a.id, a.label, a.datep as dp, a.percent as percentage, ta.code, ta.libelle as type_label, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity FROM oe_c_actioncomm AS ta, oe_actioncomm AS a LEFT JOIN oe_societe as s ON a.fk_soc = s.rowid WHERE a.fk_action = ta.id AND a.entity IN (1) AND a.percent >= 0 AND a.percent < 100 ORDER BY a.datep ASC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_actions::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 box_comptes::loadBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.ref, b.label, b.bank,b.number, b.courant, b.clos, b.rappro, b.url, b.code_banque, b.code_guichet, b.cle_rib, b.bic, b.iban_prefix as iban, b.domiciliation, b.proprio, b.owner_address, b.account_number, b.currency_code, b.min_allowed, b.min_desired, comment, b.fk_accountancy_journal, aj.code as accountancy_journal FROM oe_bank_account as b LEFT JOIN oe_accounting_journal as aj ON aj.rowid=b.fk_accountancy_journal WHERE b.entity = 1 AND clos = 0 ORDER BY label LIMIT 5
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount FROM oe_bank WHERE fk_account = 1
2023-08-15 19:04:20 INFO 94.73.41.43 box_comptes::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.ref, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.fk_price_expression, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, p.barcode FROM oe_product as p WHERE p.entity IN (1) ORDER BY p.datec DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_produits::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.label, p.price, p.ref, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export, SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) as total_stock FROM oe_product as p LEFT JOIN oe_product_stock as s on p.rowid = s.fk_product WHERE p.entity IN (1) AND p.seuil_stock_alerte > 0 GROUP BY p.rowid, p.ref, p.label, p.price, p.price_base_type, p.price_ttc, p.fk_product_type, p.tms, p.tosell, p.tobuy, p.barcode, p.seuil_stock_alerte, p.entity, p.accountancy_code_sell, p.accountancy_code_sell_intra, p.accountancy_code_sell_export, p.accountancy_code_buy, p.accountancy_code_buy_intra, p.accountancy_code_buy_export HAVING SUM((CASE WHEN s.reel IS NULL THEN 0 ELSE s.reel END)) < p.seuil_stock_alerte ORDER BY p.seuil_stock_alerte DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_produits_alerte_stock::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 CommandeStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/CommandeStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-15 19:04:20 INFO 94.73.41.43 FactureStats::getAllByProductEntry read data from cache file /home/iymllvj/oteimsa/admin/documents/users/temp/FactureStats_getAllByProductEntry_customer_es_ES_entity.1_user1.cache 1692113345.
2023-08-15 19:04:20 INFO 94.73.41.43 DolGraph::draw_chart this->type=pie this->MaxValue=2
2023-08-15 19:04:20 INFO 94.73.41.43 box_graph_product_distribution::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.nom as name, s.rowid as socid, s.email, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta, s.code_compta_fournisseur, c.rowid, c.ref, c.statut as contract_status, c.ref_customer, c.ref_supplier, cd.rowid as cdid, cd.label, cd.description, cd.tms as datem, cd.statut as contractline_status, cd.product_type as type, cd.date_fin_validite as date_line, p.rowid as product_id, p.ref as product_ref, p.label as product_label, p.fk_product_type as product_type, p.entity as product_entity, p.tobuy, p.tosell FROM (oe_societe as s INNER JOIN oe_contrat as c ON s.rowid = c.fk_soc INNER JOIN oe_contratdet as cd ON c.rowid = cd.fk_contrat LEFT JOIN oe_product as p ON cd.fk_product = p.rowid) WHERE c.entity = 1 ORDER BY c.tms DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_services_contracts::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 box_lastlogin::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, p.rowid, p.ref, p.fk_statut as status, p.datep as dp, p.datec, p.fin_validite, p.date_cloture, p.total_ht, p.total_tva, p.total_ttc, p.tms FROM oe_propal as p, oe_societe as s WHERE p.fk_soc = s.rowid AND p.entity IN (1) ORDER BY p.tms DESC, p.ref DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_propales::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 box_clients::loadBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (1, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_clients::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 box_prospect::loadBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, s.fk_stcomm, s.datec, s.tms, s.status FROM oe_societe as s WHERE s.client IN (2, 3) AND s.entity IN (1) ORDER BY s.tms DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_prospect::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT sp.rowid as id, sp.lastname, sp.firstname, sp.civility as civility_id, sp.datec, sp.tms, sp.fk_soc, sp.statut as status, sp.address, sp.zip, sp.town, sp.phone, sp.phone_perso, sp.phone_mobile, sp.email as spemail, s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.client, s.code_fournisseur, s.code_compta_fournisseur, s.fournisseur, s.code_compta, s.code_compta_fournisseur, s.logo, s.email, s.entity, co.label as country, co.code as country_code FROM oe_socpeople as sp LEFT JOIN oe_c_country as co ON sp.fk_pays = co.rowid LEFT JOIN oe_societe as s ON sp.fk_soc = s.rowid WHERE sp.entity IN (1) ORDER BY sp.tms DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_contacts::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.name_alias, s.code_client, s.code_compta, s.client, s.logo, s.email, s.entity, c.ref, c.tms, c.rowid, c.date_commande, c.ref_client, c.fk_statut, c.fk_user_valid, c.facture, c.total_ht, c.total_tva, c.total_ttc FROM oe_commande as c, oe_societe as s WHERE c.fk_soc = s.rowid AND c.entity IN (1) ORDER BY c.tms DESC, c.ref DESC LIMIT 5
2023-08-15 19:04:20 INFO 94.73.41.43 box_commandes::showBox
2023-08-15 19:04:20 INFO 94.73.41.43 ModeleBoxes::showBox
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT a.id, a.datep as dp FROM oe_actioncomm as a WHERE 1 = 1 AND a.percent >= 0 AND a.percent < 100 AND a.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.fin_validite as datefin, p.total_ht FROM oe_propal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec, p.date_cloture as datefin FROM oe_supplier_proposal as p WHERE p.entity IN (1) AND p.fk_statut = 2
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.date_livraison as delivery_date, c.fk_statut, c.total_ht FROM oe_commande as c WHERE c.entity IN (1) AND ((c.fk_statut IN (1,2)) OR (c.fk_statut = 3 AND c.facture = 0))
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (1, 2)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT c.rowid, c.date_creation as datec, c.date_commande, c.fk_statut, c.date_livraison as delivery_date, c.total_ht FROM oe_commande_fournisseur as c WHERE c.entity = 1 AND c.fk_statut IN (3, 4)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_ouverture_prevue as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 0 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT cd.rowid, cd.date_fin_validite as datefin FROM oe_contrat as c, oe_contratdet as cd, oe_societe as s WHERE c.statut = 1 AND c.rowid = cd.fk_contrat AND cd.statut = 4 AND c.fk_soc = s.rowid AND c.entity = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.datec as datec FROM oe_ticket as p WHERE p.entity IN (1) AND p.fk_statut NOT IN (8, 9)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.date_lim_reglement as datefin, f.fk_statut, f.total_ht FROM oe_facture as f WHERE f.paye=0 AND f.entity IN (1) AND f.fk_statut = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT ff.rowid, ff.date_lim_reglement as datefin, ff.fk_statut as status, ff.total_ht, ff.total_ttc FROM oe_facture_fourn as ff WHERE ff.paye = 0 AND ff.fk_statut > 0 AND ff.entity = 1
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT COUNT(ba.rowid) as nb FROM oe_bank_account as ba WHERE ba.rappro > 0 and ba.clos = 0 AND ba.entity IN (1) AND ba.courant != 2
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.rappro=0 AND b.fk_account = ba.rowid AND ba.entity IN (1) AND (ba.rappro = 1 AND ba.courant != 2) AND clos = 0
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT b.rowid, b.datev as datefin FROM oe_bank as b, oe_bank_account as ba WHERE b.fk_account = ba.rowid AND ba.entity IN (1) AND b.fk_type = 'CHQ' AND b.fk_bordereau = 0 AND b.amount > 0
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 2 AND ex.entity IN (1)
2023-08-15 19:04:20 DEBUG 94.73.41.43 sql=SELECT ex.rowid, ex.date_valid FROM oe_expensereport as ex WHERE ex.fk_statut = 5 AND ex.entity IN (1)
2023-08-15 19:04:20 INFO 94.73.41.43 --- End access to /admin/htdocs/index.php
2023-08-15 19:04:25 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:04:25 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:04:25 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:04:25 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:04:25 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:04:25 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:04:25 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:04:25 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:04:25 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:04:25 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:04:25 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:04:25 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:04:25 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:04:25 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:04:25 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:04:25 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:04:25 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:04:25 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:04:25 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:04:25 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:04:25 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:04:25 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:04:25 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:04:25 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:04:25 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:04:25 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:04:25 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:04:52 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:04:52 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:04:52 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:04:52 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 19:04:52 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 19:04:52 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:04:52 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:04:52 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:04:52 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:04:52 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:04:52 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:04:52 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:04:52 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:04:52 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:04:52 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:04:52 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:04:52 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:04:52 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:04:52 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:04:52 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:04:52 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:05:00 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:00 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:00 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:00 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.entity IN (1) AND f.ref = 'provisoire'
2023-08-15 19:05:00 WARNING 94.73.41.43 Facture::fetchInvoice with id= or ref=provisoire or ref_ext= not found
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:05:00 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4
2023-08-15 19:05:00 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 4 AND entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:05:00 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 4 ORDER BY f.ref
2023-08-15 19:05:00 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 4 ORDER BY f.ref
2023-08-15 19:05:00 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 19:05:00 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:05:00 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:05:00 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:05:00 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:05:00 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:05:00 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:05:00 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:05:00 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:05:00 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:05:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:12 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:12 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:05:12 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:05:12 INFO 94.73.41.43 Facture::create user=1 date=1676242800
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:12 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=INSERT INTO oe_facture ( ref, entity, ref_ext, type, fk_soc, datec, remise_absolue, remise_percent, datef, date_pointoftax, note_private, note_public, ref_client, fk_account, module_source, pos_source, fk_fac_rec_source, fk_facture_source, fk_user_author, fk_projet, fk_cond_reglement, fk_mode_reglement, date_lim_reglement, model_pdf, situation_cycle_ref, situation_counter, situation_final, fk_incoterms, location_incoterms, fk_multicurrency, multicurrency_code, multicurrency_tx, retained_warranty, retained_warranty_date_limit, retained_warranty_fk_cond_reglement) VALUES ('(PROV)', 1, null, '0', 4, '2023-08-15 21:05:12', NULL, NULL, '2023-02-13 00:00:00', null, null, null, null, 1, null, null, null, null, 1, null, 1, 2, '2023-02-14 00:00:00', 'crabe', null, null, 0, 0, '', 0, 'EUR', 1, 0, '2023-02-14 00:00:00', 0)
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='(PROV4)' WHERE rowid=4
2023-08-15 19:05:12 INFO 94.73.41.43 There is 0 lines that are array lines
2023-08-15 19:05:12 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 4 AND product_type <> 9 ORDER by rowid
2023-08-15 19:05:12 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 4
2023-08-15 19:05:12 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=4
2023-08-15 19:05:12 INFO 94.73.41.43 Trigger 'ContactRoles' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_90_modSociete_ContactRoles.class.php. id=4
2023-08-15 19:05:12 DEBUG 94.73.41.43 Contact::getContactRoles
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT sc.fk_socpeople as id, sc.fk_c_type_contact FROM oe_c_type_contact tc, oe_societe_contacts sc INNER JOIN oe_socpeople sp ON sc.fk_socpeople = sp.rowid AND sp.statut = 1 WHERE sc.fk_soc =4 AND sc.fk_c_type_contact=tc.rowid AND tc.element = 'facture' AND tc.active = 1
2023-08-15 19:05:12 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 4 AND product_type <> 9 ORDER by rowid
2023-08-15 19:05:12 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 4
2023-08-15 19:05:12 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:05:12 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:05:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:12 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:12 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:12 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:13 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:13 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:13 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:05:13 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:13 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:13 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:13 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:05:13 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:13 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 4 AND pfd.ext_payment_id IS NULL
2023-08-15 19:05:13 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV4)' AND te.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV4)' AND te.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type = 2
2023-08-15 19:05:13 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:05:13 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:05:13 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 4
2023-08-15 19:05:13 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:13 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:05:13 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:05:13 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:05:13 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:05:13 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:05:13 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 4
2023-08-15 19:05:13 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:05:13 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:05:13 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:13 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV4)'
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (4) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:13 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 4 AND sourcetype = 'facture') OR (fk_target = 4 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:05:13 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 4 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:05:13 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:05:13 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:05:13 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:05:30 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:30 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:05:30 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=4/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:05:30 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=4/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::addline id=4, pu_ht=385, qty=1, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Medios auxiliares para la…
2023-08-15 19:05:30 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:05:30 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 19:05:30 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=4/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:05:30 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=4/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:05:30 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=385 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:05:30 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=385 qty=1 price_base_type=HT total_ht=385-total_vat=80.85-total_ttc=465.85
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 FactureLigne::insert rang=1
2023-08-15 19:05:30 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (4, null, null, 'Medios auxiliares para la realización de los trabajos en tratamiento de canalón pudiendo ser\r\nescaleras telescópicas y/o torres de trabajo formada por andamio tubular. Descripción de\r\nelementos a utilizar:\r\n• Montaje de torre de trabajo mediante andamio modular europeo, posterior desmontaje,\r\nacarreo y transporte de torre de trabajo, incluso parte proporcional de diagonales en\r\nhueco de escalera para reparación interior de techo en caja de escalera y aledaños.\r\n• Escaleras de aluminio con un alcance aproximado de trabajo y acceso a cubierta de 7,00\r\nml. de altura.\r\n• Colocación en caso necesario de tableros como apoyo del andamio mediante tableros\r\nDM con un espesor de 13 mm.\r\nNOTA: SE CONSIDERA LA UTILIZACIÓN DE ANDAMIO TUBULAR Y/O\r\nESCALERA DE MANO PARA NO PODUCIR DEMASIADOS DAÑOS EN JARDÍN\r\nQUE SE ENCUENTRA ALREDEDOR DE VIVIENDA.\r\nNOTA: SE UTILIZARÁN LOS MEDIOS NECESARIOS SEGÚN NECESIDADES DE\r\nLA OBRA DENTRO DE LOS DESCRITOS CON ANTERIORIDAD.', 1, '', 21, 0, 0, '3', '5', null, 1, 0, 385, '', null, null, null, 0, 1, 0, null, 0, '0', 385, 80.85, 465.85, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 385, 385, 80.85, 465.85)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 4 AND product_type <> 9 ORDER by rowid
2023-08-15 19:05:30 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=385.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:05:30 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=385.00000000 qty=1 price_base_type=HT total_ht=385-total_vat=80.85-total_ttc=465.85
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 385, total_tva = 80.85, localtax1 = 0, localtax2 = 0, total_ttc = 465.85, multicurrency_total_ht = 385, multicurrency_total_tva = 80.85, multicurrency_total_ttc = 465.85 WHERE rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:30 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 19:05:30 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 19:05:30 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:30 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4)
2023-08-15 19:05:30 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV4)' does not exists or is outside open_basedir PHP setting.
2023-08-15 19:05:30 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV4)' created
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 19:05:30 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 4 AND sourcetype = 'facture') OR (fk_target = 4 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 4 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:30 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 19:05:30 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:30 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV4)' AND t.filename = '(PROV4).pdf' AND t.entity = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 EcmFiles::create
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT MAX(position) as maxposition FROM oe_ecm_files WHERE filepath ='facture/(PROV4)'
2023-08-15 19:05:30 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=INSERT INTO oe_ecm_files(ref,label,share,entity,filename,filepath,fullpath_orig,description,keywords,cover,position,gen_or_uploaded,extraparams,date_c,tms,fk_user_c,fk_user_m,acl,src_object_type,src_object_id) VALUES ( 'd74ee6bc735125ddae7f6970f0328bbd', '363c84c692f14a76b0c039ce355456f4', NULL, 1, '(PROV4).pdf', 'facture/(PROV4)', '', '', '', NULL, 1, 'generated', NULL, '2023-08-15 21:05:30', '2023-08-15 21:05:30', 1, NULL, NULL, 'facture', 4)
2023-08-15 19:05:30 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV4)/(PROV4).pdf' WHERE rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 4 AND pfd.ext_payment_id IS NULL
2023-08-15 19:05:30 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV4)' AND te.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV4)' AND te.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type = 2
2023-08-15 19:05:30 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:05:30 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 4
2023-08-15 19:05:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:30 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:05:30 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:05:30 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:05:30 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:05:30 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:05:30 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 4
2023-08-15 19:05:30 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:05:30 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:05:30 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:30 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV4)'
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (4) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:30 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 4 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:05:30 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:05:30 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:05:30 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:05:31 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:31 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 19:05:31 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV4)/(PROV4).pdf_preview.png entity=1
2023-08-15 19:05:31 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV4)/(PROV4).pdf_preview.png filename=(PROV4).pdf_preview.png content-type=image/png
2023-08-15 19:05:31 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 19:05:49 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:49 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:49 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:05:49 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=4/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:05:49 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=4/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::addline id=4, pu_ht=1315.66, qty=1, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=Tratamiento de canalón me…
2023-08-15 19:05:49 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:05:49 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 19:05:49 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=4/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:05:49 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=4/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:05:49 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=1315.66 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:05:49 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1315.66 qty=1 price_base_type=HT total_ht=1315.66-total_vat=276.29-total_ttc=1591.95
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 FactureLigne::insert rang=2
2023-08-15 19:05:49 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (4, null, null, 'Tratamiento de canalón mediante membrana líquida de poliuretano en una longitud máxima\r\nde 15,00 ml. y un desarrollo máximo de 300 mm, compuesto por:\r\n• Limpieza por medios manuales de restos que se encuentren en el canalón mediante el\r\nbarrido y posterior retirada de escombros generados.\r\n• Eliminación de resto de sellados existentes mediante medios manuales y posterior\r\nretirada de escombros generados.\r\n• Sellado de juntas entre tramos de canalón y en cualquier zona susceptible de entrada de\r\nagua mediante mástico monocomponente de poliuretano “SIKAFLEX 11 FC”.\r\n• Aplicación de imprimación Anticorrosiva bicomponente mediante rodillo\r\n“SIKALASTIC METAL PRIMER”.\r\n• Aplicación de una primera capa de membrana líquida impermeable, de alta durabilidad,\r\nresistente a raíces, estable a la radiación UV “SIKALASTIC 612” y/o “SIKALASTIC\r\n621”, mediante rodillo.\r\n• Colocación de refuerzo en juntas entre piezas de canalón mediante “SIKALASTIC\r\nFLEXITAPE HEAVY”, tejido de poliamida para su uso combinado con los\r\nrevestimientos Sikalastic para conseguir adaptarse a los movimientos térmicos del\r\ncanalón presionando ligeramente con rodillo, incluso aplicación posterior de más\r\nmaterial de Sikalastic 612 hasta que la cinta quede tapada.\r\n• Aplicación de capa de sellado final mediante membrana líquida impermeable, de alta\r\ndurabilidad, resistente a raíces, estable a la radiación UV “SIKALASTIC 612” y/o\r\n“SIKALASTIC 621”, mediante rodillo.', 1, '', 21, 0, 0, '3', '5', null, 1, 0, 1315.66, '', null, null, null, 0, 2, 0, null, 0, '0', 1315.66, 276.29, 1591.95, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 1315.66, 1315.66, 276.29, 1591.95)
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 4 AND product_type <> 9 ORDER by rowid
2023-08-15 19:05:49 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=385.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:05:49 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=385.00000000 qty=1 price_base_type=HT total_ht=385-total_vat=80.85-total_ttc=465.85
2023-08-15 19:05:49 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=1315.66000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:05:49 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=1315.66000000 qty=1 price_base_type=HT total_ht=1315.66-total_vat=276.29-total_ttc=1591.95
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 1700.66, total_tva = 357.14, localtax1 = 0, localtax2 = 0, total_ttc = 2057.8, multicurrency_total_ht = 1700.66, multicurrency_total_tva = 357.14, multicurrency_total_ttc = 2057.8 WHERE rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:49 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 19:05:49 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 19:05:49 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:49 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 19:05:49 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 4 AND sourcetype = 'facture') OR (fk_target = 4 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 4 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:05:49 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 19:05:49 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:49 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:49 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4)/(PROV4).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 19:05:49 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV4)/(PROV4).pdf_preview.png
2023-08-15 19:05:49 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV4)' AND t.filename = '(PROV4).pdf' AND t.entity = 1
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 19:05:49 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = 'd74ee6bc735125ddae7f6970f0328bbd', label = '848ad7335398660450f6cc3adedd1f92', share = null, entity = 1, filename = '(PROV4).pdf', filepath = 'facture/(PROV4)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 21:05:30', fk_user_m = 1, acl = null, src_object_id = 4, src_object_type = 'facture' WHERE rowid=4
2023-08-15 19:05:49 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV4)/(PROV4).pdf' WHERE rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:49 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:49 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:49 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:49 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:49 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 4 AND pfd.ext_payment_id IS NULL
2023-08-15 19:05:49 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:49 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV4)' AND te.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV4)' AND te.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type = 2
2023-08-15 19:05:50 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:05:50 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:05:50 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 4
2023-08-15 19:05:50 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:50 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:05:50 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:05:50 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:05:50 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:05:50 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:05:50 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 4
2023-08-15 19:05:50 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:05:50 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:05:50 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:50 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV4)'
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (4) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:50 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 4 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:05:50 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:05:50 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:05:50 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:50 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:50 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 19:05:50 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV4)/(PROV4).pdf_preview.png entity=1
2023-08-15 19:05:50 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV4)/(PROV4).pdf_preview.png filename=(PROV4).pdf_preview.png content-type=image/png
2023-08-15 19:05:50 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 19:05:53 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:53 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:53 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=valid, massaction=
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:53 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:53 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:53 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:53 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:53 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:53 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 4 AND pfd.ext_payment_id IS NULL
2023-08-15 19:05:53 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:05:53 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:54 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=INVERSIONES Y PATRIMONIO CASTELLANA,SL, type=, mode=next
2023-08-15 19:05:54 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 19:05:54 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2302-0004
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV4)' AND te.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV4)' AND te.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type = 2
2023-08-15 19:05:54 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:05:54 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:05:54 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 4
2023-08-15 19:05:54 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:54 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV4) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:05:54 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:05:54 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:54 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV4)'
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (4) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:54 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 4 AND sourcetype = 'facture') OR (fk_target = 4 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:05:54 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 4 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:05:54 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:05:54 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:05:54 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:54 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:54 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:54 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 19:05:54 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV4)/(PROV4).pdf_preview.png entity=1
2023-08-15 19:05:54 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV4)/(PROV4).pdf_preview.png filename=(PROV4).pdf_preview.png content-type=image/png
2023-08-15 19:05:54 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 19:05:56 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:56 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:56 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=confirm_valid, massaction=
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:05:56 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:56 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:05:56 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=INVERSIONES Y PATRIMONIO CASTELLANA,SL, type=, mode=next
2023-08-15 19:05:56 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 19:05:56 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2302-0004
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 4 AND product_type <> 9 ORDER by rowid
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 1700.66, total_tva = 357.14, localtax1 = 0, localtax2 = 0, total_ttc = 2057.8, multicurrency_total_ht = 1700.66, multicurrency_total_tva = 357.14, multicurrency_total_ttc = 2057.8 WHERE rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::validate
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref = 'IN2302-0004', fk_statut = 1, fk_user_valid = 1, date_valid = '2023-08-15 21:05:56' WHERE rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET client = 1 WHERE rowid = 4
2023-08-15 19:05:56 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=4
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 4 AND targettype = 'facture' AND sourcetype = 'commande' ORDER BY sourcetype
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 4 AND targettype = 'facture' AND sourcetype = 'propal' ORDER BY sourcetype
2023-08-15 19:05:56 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=4
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 19:05:56 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 21:05:56', '2023-08-15 21:05:56', '2023-08-15 21:05:56', null, 40,'AC_BILL_VALIDATE', null, 4, null, 'Factura IN2302-0004 validada', null, 1, 1, null, 'Factura IN2302-0004 validada', '-1', '0', '0', '', '0', 4, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='29' WHERE id=29
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(29, 'user', 1, 0, 0, 0)
2023-08-15 19:05:56 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=4
2023-08-15 19:05:56 DEBUG 94.73.41.43 BlockedLog::create action=BILL_VALIDATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 21:05:56','BILL_VALIDATE',2057.8,'3f5bf9dba8c8b8d659f124018f40999cc57fc430f0b503e749fe44812017a779','0e7941fca1950c76c645fc768f8773d61d03871a5b0ce2980c021bc804f55c43','facture',4,'2023-02-13 00:00:00','IN2302-0004','O:8:\"stdClass\":10:{s:10:\"thirdparty\";O:8:\"stdClass\":9:{s:4:\"name\";s:38:\"INVERSIONES Y PATRIMONIO CASTELLANA,SL\";s:10:\"name_alias\";s:38:\"INVERSIONES Y PATRIMONIO CASTELLANA,SL\";s:7:\"address\";s:62:\"Paseo de la Castellana, no. 141 – Planta 17-C - 28046 MADRID\";s:3:\"zip\";s:10:\"B-82038605\";s:4:\"town\";s:6:\"madrid\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00004\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:4:\"date\";i:1676242800;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";d:1700.66;s:9:\"total_tva\";d:357.14;s:9:\"total_ttc\";d:2057.8;s:12:\"revenuestamp\";s:10:\"0.00000000\";s:11:\"invoiceline\";a:2:{i:1;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:12:\"385.00000000\";s:23:\"multicurrency_total_tva\";s:11:\"80.85000000\";s:23:\"multicurrency_total_ttc\";s:12:\"465.85000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"1\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:12:\"385.00000000\";s:9:\"total_tva\";s:11:\"80.85000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:12:\"465.85000000\";s:9:\"info_bits\";s:1:\"0\";}i:2;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"1315.66000000\";s:23:\"multicurrency_total_tva\";s:12:\"276.29000000\";s:23:\"multicurrency_total_ttc\";s:13:\"1591.95000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"1\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"1315.66000000\";s:9:\"total_tva\";s:12:\"276.29000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"1591.95000000\";s:9:\"info_bits\";s:1:\"0\";}}s:3:\"ref\";s:11:\"IN2302-0004\";}','',0,1,'SuperAdmin',1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files set filename = CONCAT('IN2302-0004', SUBSTR(filename, 8)), filepath = 'facture/IN2302-0004' WHERE filename LIKE '(PROV4)%' AND filepath = 'facture/(PROV4)' and entity = 1
2023-08-15 19:05:56 INFO 94.73.41.43 Facture::validate rename dir /home/iymllvj/oteimsa/admin/documents/facture/(PROV4) into /home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004
2023-08-15 19:05:56 INFO 94.73.41.43 Rename ok
2023-08-15 19:05:56 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=1 filter=^\(PROV4\) excludefilter=null
2023-08-15 19:05:56 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:56 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 19:05:56 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 19:05:56 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:56 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 19:05:56 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 4 AND sourcetype = 'facture') OR (fk_target = 4 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 4 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:05:56 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 19:05:56 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:05:56 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:56 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:56 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004/IN2302-0004.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 19:05:56 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004/IN2302-0004.pdf_preview.png
2023-08-15 19:05:56 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2302-0004' AND t.filename = 'IN2302-0004.pdf' AND t.entity = 1
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 19:05:56 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 19:05:56 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = 'b277065eb2a8ba844413d8734241b1a1', label = 'b15b4b1f276c7cdf535258e89d9482d6', share = null, entity = 1, filename = 'IN2302-0004.pdf', filepath = 'facture/IN2302-0004', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 21:05:30', fk_user_m = 1, acl = null, src_object_id = 4, src_object_type = 'facture' WHERE rowid=4
2023-08-15 19:05:56 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2302-0004/IN2302-0004.pdf' WHERE rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:56 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:05:56 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:05:56 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:56 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 4 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:56 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 4 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 4 AND pfd.ext_payment_id IS NULL
2023-08-15 19:05:56 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2302-0004' AND te.entity IN (1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2302-0004' AND te.entity IN (1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type = 2
2023-08-15 19:05:56 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:05:56 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:56 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:05:56 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:05:57 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 4
2023-08-15 19:05:57 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 4
2023-08-15 19:05:57 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 4
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 4
2023-08-15 19:05:57 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=INVERSIONES Y PATRIMONIO CASTELLANA,SL, type=, mode=last
2023-08-15 19:05:57 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0004' AND entity IN (1) ORDER BY ref DESC
2023-08-15 19:05:57 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:05:57 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:05:57 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:05:57 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 4 AND entity = 1
2023-08-15 19:05:57 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2302-0004'
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (4) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (4) AND t.entity IN (1)
2023-08-15 19:05:57 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 4 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:05:57 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 29
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 29 AND element_type IN ('user', 'socpeople')
2023-08-15 19:05:57 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:05:57 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:05:57 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:05:57 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:05:57 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:05:57 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 19:05:57 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2302-0004/IN2302-0004.pdf_preview.png entity=1
2023-08-15 19:05:57 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004/IN2302-0004.pdf_preview.png filename=IN2302-0004.pdf_preview.png content-type=image/png
2023-08-15 19:05:57 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 19:06:01 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:06:01 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:06:01 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:06:01 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:06:02 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:06:02 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/fourn/facture/card.php - action=create, massaction=
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture_fourn' ORDER BY pos
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:06:02 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND ((s.fournisseur = 1 AND s.status = 1)) ORDER BY nom ASC
2023-08-15 19:06:02 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 19:06:02 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:06:02 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, DBIT, 0
2023-08-15 19:06:02 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:06:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:06:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:06:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:06:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:06:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:06:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:06:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:06:02 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:06:02 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:06:02 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:06:02 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:06:02 INFO 94.73.41.43 --- End access to /admin/htdocs/fourn/facture/card.php
2023-08-15 19:06:03 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:06:03 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:06:03 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:06:03 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:06:03 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:06:03 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:06:03 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:06:03 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:06:03 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:06:03 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:06:03 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:06:03 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:06:03 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:06:03 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:06:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:06:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:06:03 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:06:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:06:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:06:03 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:06:03 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:06:03 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:06:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:06:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:06:03 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:06:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:03 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:06:03 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:06:04 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:06:04 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:06:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:06:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:06:04 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:06:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:06:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:06:04 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:06:04 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:06:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:06:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:06:04 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:06:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:06:04 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:04 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:06:04 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:06:04 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:06:04 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:06:18 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:06:18 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:06:18 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:06:18 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 19:06:18 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 19:06:18 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:06:18 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:06:18 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:06:18 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:06:18 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:06:18 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:06:18 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:06:18 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:06:18 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:06:18 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:06:18 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:06:18 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:06:18 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:06:18 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:06:18 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:06:18 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:06:24 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:06:24 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:06:24 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:06:24 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.entity IN (1) AND f.ref = 'provisoire'
2023-08-15 19:06:24 WARNING 94.73.41.43 Facture::fetchInvoice with id= or ref=provisoire or ref_ext= not found
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:06:24 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5
2023-08-15 19:06:24 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 5 AND entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:06:24 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 5 ORDER BY f.ref
2023-08-15 19:06:24 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 5 ORDER BY f.ref
2023-08-15 19:06:24 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 19:06:24 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:06:24 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:06:24 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:06:24 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:06:24 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:06:24 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:06:24 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:06:24 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:06:24 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:06:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:06:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:06:45 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:06:45 INFO 94.73.41.43 Facture::create user=1 date=1677452400
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=INSERT INTO oe_facture ( ref, entity, ref_ext, type, fk_soc, datec, remise_absolue, remise_percent, datef, date_pointoftax, note_private, note_public, ref_client, fk_account, module_source, pos_source, fk_fac_rec_source, fk_facture_source, fk_user_author, fk_projet, fk_cond_reglement, fk_mode_reglement, date_lim_reglement, model_pdf, situation_cycle_ref, situation_counter, situation_final, fk_incoterms, location_incoterms, fk_multicurrency, multicurrency_code, multicurrency_tx, retained_warranty, retained_warranty_date_limit, retained_warranty_fk_cond_reglement) VALUES ('(PROV)', 1, null, '0', 5, '2023-08-15 21:06:45', NULL, NULL, '2023-02-27 00:00:00', null, null, null, null, 1, null, null, null, null, 1, null, 1, 2, '2023-02-28 00:00:00', 'crabe', null, null, 0, 0, '', 0, 'EUR', 1, 0, '2023-02-28 00:00:00', 0)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='(PROV5)' WHERE rowid=5
2023-08-15 19:06:45 INFO 94.73.41.43 There is 0 lines that are array lines
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 5 AND product_type <> 9 ORDER by rowid
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 5
2023-08-15 19:06:45 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=5
2023-08-15 19:06:45 INFO 94.73.41.43 Trigger 'ContactRoles' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_90_modSociete_ContactRoles.class.php. id=5
2023-08-15 19:06:45 DEBUG 94.73.41.43 Contact::getContactRoles
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT sc.fk_socpeople as id, sc.fk_c_type_contact FROM oe_c_type_contact tc, oe_societe_contacts sc INNER JOIN oe_socpeople sp ON sc.fk_socpeople = sp.rowid AND sp.statut = 1 WHERE sc.fk_soc =5 AND sc.fk_c_type_contact=tc.rowid AND tc.element = 'facture' AND tc.active = 1
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 5 AND product_type <> 9 ORDER by rowid
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:06:45 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:06:45 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:06:45 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:06:45 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:06:45 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:06:45 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:06:45 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 5 AND pfd.ext_payment_id IS NULL
2023-08-15 19:06:45 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV5)' AND te.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV5)' AND te.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type = 2
2023-08-15 19:06:45 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:06:45 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 5 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 5
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:06:45 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:06:45 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:06:45 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:06:45 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:06:45 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:06:45 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 5
2023-08-15 19:06:45 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:06:45 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:06:45 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:06:45 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV5)'
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:06:45 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 5 AND sourcetype = 'facture') OR (fk_target = 5 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:06:45 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 5 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:06:45 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:06:45 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:06:45 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:07:04 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:04 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:04 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:04 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:04 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:04 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:04 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:04 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 19:07:04 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:04 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:07:05 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:07:05 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:07:05 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:07:05 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:07:05 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:07:05 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:07:05 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:07:05 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:07:05 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:07:05 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:07:05 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter=^\(PROV5\)\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:07:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:07:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:07:05 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:07:05 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:05 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:07:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:05 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:05 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:07:07 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:07 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:07 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:07 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:07 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:07 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 5 AND pfd.ext_payment_id IS NULL
2023-08-15 19:07:07 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type = 2
2023-08-15 19:07:07 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:07:07 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:07:07 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 5 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 5
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:07:07 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:07:07 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:07:07 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:07:07 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:07:07 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:07:07 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 5
2023-08-15 19:07:07 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:07 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:07:07 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:07 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV5)'
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:07 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 5 AND sourcetype = 'facture') OR (fk_target = 5 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:07:07 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 5 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:07:07 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:07:07 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:07:07 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:07:09 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:09 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:09 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=editinvoicedate, massaction=
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:09 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:09 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:09 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:09 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 5 AND pfd.ext_payment_id IS NULL
2023-08-15 19:07:09 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type = 2
2023-08-15 19:07:09 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:07:09 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:07:09 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 5 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 5
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:07:09 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:07:09 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:07:09 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:07:09 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:07:09 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:07:09 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 5
2023-08-15 19:07:09 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:09 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:07:09 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:09 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV5)'
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:09 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 5 AND sourcetype = 'facture') OR (fk_target = 5 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:07:09 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 5 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:07:09 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:07:09 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:07:09 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:07:11 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:11 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=setinvoicedate, massaction=
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.entity IN (1) AND c.code = 'RECEP'
2023-08-15 19:07:11 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::update
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='(PROV5)', ref_ext=null, type=0, ref_client=null, increment=null, fk_soc=5, datec='2023-08-15 21:06:45', datef='2023-02-27 00:00:00', date_pointoftax=null, date_valid=null, paye=0, remise_percent=null, remise_absolue=null, close_code=null, close_note=null, total_tva=0.00000000, localtax1=0.00000000, localtax2=0.00000000, total_ht=0.00000000, total_ttc=0.00000000, revenuestamp=0.00000000, fk_statut=0, fk_user_author=1, fk_user_valid=null, fk_facture_source=null, fk_projet=null, fk_cond_reglement=1, fk_mode_reglement=2, date_lim_reglement='2023-02-28 00:00:00', note_private=null, note_public=null, model_pdf='crabe', import_key=null, situation_cycle_ref=null, situation_counter=null, situation_final=0, retained_warranty=0, retained_warranty_date_limit='2023-02-28 00:00:00', retained_warranty_fk_cond_reglement=0 WHERE rowid=5
2023-08-15 19:07:11 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=5
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:07:11 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 19:07:11 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 21:07:11', '2023-08-15 21:07:11', '2023-08-15 21:07:11', null, 40,'AC_BILL_MODIFY', null, 5, null, 'Registro (PROV5) modificado', null, 1, 1, null, 'Registro (PROV5) modificado', '-1', '0', '0', '', '0', 5, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='30' WHERE id=30
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(30, 'user', 1, 0, 0, 0)
2023-08-15 19:07:11 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=5
2023-08-15 19:07:11 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:11 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:11 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:11 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:11 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:11 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 5 AND pfd.ext_payment_id IS NULL
2023-08-15 19:07:12 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type = 2
2023-08-15 19:07:12 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:07:12 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:07:12 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 5 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 5
2023-08-15 19:07:12 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:07:12 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:07:12 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:07:12 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:07:12 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:07:12 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:07:12 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 5
2023-08-15 19:07:12 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:12 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:07:12 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:12 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV5)'
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:12 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 5 AND sourcetype = 'facture') OR (fk_target = 5 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:07:12 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 5 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:07:12 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 30
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 30 AND element_type IN ('user', 'socpeople')
2023-08-15 19:07:12 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:07:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:07:12 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:07:16 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:16 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:16 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:07:16 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:07:16 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:07:16 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:07:16 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:07:16 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:07:16 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:07:16 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:07:16 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:07:16 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:07:16 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:07:16 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter=^\(PROV5\)\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:07:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:07:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:07:16 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:07:16 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:16 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:07:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:16 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:16 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:07:36 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:36 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:36 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:36 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:36 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:36 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:36 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:36 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:37 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:07:37 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:37 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:37 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:37 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:37 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:07:37 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:37 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 5 AND pfd.ext_payment_id IS NULL
2023-08-15 19:07:37 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type = 2
2023-08-15 19:07:37 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:07:37 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:07:37 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 5 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 5
2023-08-15 19:07:37 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:07:37 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:07:37 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:07:37 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:07:37 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:07:37 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:07:37 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 5
2023-08-15 19:07:37 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:37 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:07:37 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:37 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV5)'
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:37 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 5 AND sourcetype = 'facture') OR (fk_target = 5 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:07:37 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 5 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:07:37 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 30
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 30 AND element_type IN ('user', 'socpeople')
2023-08-15 19:07:37 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:07:37 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:07:37 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:07:39 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:39 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:39 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=delete, massaction=
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:39 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 5
2023-08-15 19:07:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type IN (0,2,5)
2023-08-15 19:07:39 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 5 AND f.type = 3
2023-08-15 19:07:39 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:39 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 5 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 5 AND pfd.ext_payment_id IS NULL
2023-08-15 19:07:39 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV5)' AND te.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 5 AND type = 2
2023-08-15 19:07:39 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:07:39 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:07:39 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 5 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 5
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:07:39 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:07:39 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:07:39 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:07:39 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:07:39 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:07:39 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 5
2023-08-15 19:07:39 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV5) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:39 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:07:39 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 5 AND entity = 1
2023-08-15 19:07:39 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV5)'
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:07:39 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 5 AND sourcetype = 'facture') OR (fk_target = 5 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:07:39 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 5 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:07:39 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 30
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 30 AND element_type IN ('user', 'socpeople')
2023-08-15 19:07:39 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:07:39 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:07:39 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:07:40 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:40 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:41 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=confirm_delete, massaction=
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 5
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:07:41 INFO 94.73.41.43 Facture::hasProductsOrServices we found 0 qualified lines of products/servcies
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::delete rowid=5, ref=(PROV5), thirdparty=IES PROFESOR JULIO PÉREZ
2023-08-15 19:07:41 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:07:41 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_DELETE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=5
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:07:41 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 19:07:41 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 21:07:41', '2023-08-15 21:07:41', '2023-08-15 21:07:41', null, 40,'AC_BILL_DELETE', null, 5, null, 'Factura eliminada', null, 1, 1, null, 'Factura eliminada', '-1', '0', '0', '', '0', 5, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='31' WHERE id=31
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(31, 'user', 1, 0, 0, 0)
2023-08-15 19:07:41 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_DELETE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=5
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::deleteExtraFields delete
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_facture_extrafields WHERE fk_object = 5
2023-08-15 19:07:41 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'OBJECT_LINK_DELETE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=5
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::deleteObjectLinked
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_element_element WHERE (fk_source = 5 AND sourcetype = 'facture') OR (fk_target = 5 AND targettype = 'facture')
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_societe_remise_except WHERE fk_facture_source = 5 AND fk_facture_line IS NULL
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 5 ORDER BY l.rang, l.rowid
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=UPDATE oe_eventorganization_conferenceorboothattendee SET fk_invoice = NULL WHERE fk_invoice = 5
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=UPDATE oe_projet_task_time SET invoice_id = NULL, invoice_line_id = NULL WHERE invoice_id = 5
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_facturedet_extrafields WHERE fk_object IN (SELECT rowid FROM oe_facturedet WHERE fk_facture = 5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_facturedet WHERE fk_facture = 5
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT tc.rowid, tc.code, tc.libelle, tc.position FROM oe_c_type_contact as tc WHERE tc.element='facture' ORDER BY position ASC, code ASC
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::delete_linked_contact
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_element_contact WHERE element_id = 5 AND fk_c_type_contact IN (11,10,13,12)
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_facture WHERE rowid = 5
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_ecm_files_extrafields WHERE fk_object IN ( SELECT rowid FROM oe_ecm_files WHERE filename LIKE '(PROV5)%' AND filepath = 'facture/(PROV5)' AND entity = 1)
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=DELETE FROM oe_ecm_files WHERE filename LIKE '(PROV5)%' AND filepath = 'facture/(PROV5)' AND entity = 1
2023-08-15 19:07:41 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:07:41 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:07:41 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:41 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:41 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:07:41 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:07:41 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:07:41 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:07:41 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:07:41 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:07:41 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:07:41 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:07:41 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:07:41 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:07:41 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:07:41 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:41 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:07:41 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:07:41 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:07:41 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:07:41 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:41 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:07:41 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:41 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:41 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 19:07:41 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:07:58 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:07:58 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:07:58 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:07:58 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:07:58 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:07:58 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:07:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:07:58 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:07:58 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=validate
2023-08-15 19:07:58 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:07:58 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:07:59 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:07:59 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=0
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:07:59 WARNING 94.73.41.43 Facture::validate status is not draft. operation canceled.
2023-08-15 19:07:59 DEBUG 94.73.41.43 ROLLBACK Transaction
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:07:59 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:07:59 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:07:59 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:07:59 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:07:59 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:07:59 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:07:59 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:07:59 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:07:59 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:07:59 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:07:59 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:07:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:07:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:07:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:07:59 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:07:59 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:07:59 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:07:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:07:59 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:07:59 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 19:07:59 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:08:02 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:08:02 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:08:02 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=makepayment
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:08:02 DEBUG 94.73.41.43 Form::select_types_paiements , paiementid, , 0
2023-08-15 19:08:02 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:08:02 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:08:02 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:08:02 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:08:02 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:08:02 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:08:02 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:08:02 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:08:02 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:08:02 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:08:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:08:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:08:02 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:08:02 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:08:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:08:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:08:02 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:08:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:08:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:08:02 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:08:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:08:02 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:08:02 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:02 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:08:02 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:08:02 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:08:02 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 19:08:02 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:08:07 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:08:07 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:08:07 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=makepayment_confirm, massaction=
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:08:07 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:08:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:08:07 INFO 94.73.41.43 Facture::setBankAccount(1)
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_account = 1 WHERE rowid=4
2023-08-15 19:08:07 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'FACTURE_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=4
2023-08-15 19:08:07 DEBUG 94.73.41.43 MultiCurrency::getInvoiceRate
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT multicurrency_tx FROM oe_facture WHERE rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Paiement::create insert paiement
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 9) AS SIGNED)) as max FROM oe_paiement WHERE ref LIKE 'PAY____-%' AND entity = 1
2023-08-15 19:08:07 INFO 94.73.41.43 mod_payment_cicada::getNextValue return PAY2306-0004
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement (entity, ref, ref_ext, datec, datep, amount, multicurrency_amount, fk_paiement, num_paiement, note, ext_payment_id, ext_payment_site, fk_user_creat, pos_change) VALUES (1, 'PAY2306-0004', '', '2023-08-15 21:08:07', '2023-06-23 12:00:00', 2057.8, 2057.8, 2, '', '', null, null, 1, 0)
2023-08-15 19:08:07 DEBUG 94.73.41.43 Paiement::create Amount line 4 insert paiement_facture
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement_facture (fk_facture, fk_paiement, amount, multicurrency_amount) VALUES (4, 4, 2057.8, 2057.8)
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:08:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::setPaid rowid=4
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_statut=2, paye=1, fk_user_closing = 1, date_closing = '2023-08-15 21:08:07' WHERE rowid = 4
2023-08-15 19:08:07 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=4
2023-08-15 19:08:07 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=4
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:08:07 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 19:08:07 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 21:08:07', '2023-08-15 21:08:07', '2023-08-15 21:08:07', null, 40,'AC_BILL_PAYED', null, 4, null, 'Factura IN2302-0004 pasada a pagada', null, 1, 1, null, 'Factura IN2302-0004 pasada a pagada', '-1', '0', '0', '', '0', 4, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='32' WHERE id=32
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(32, 'user', 1, 0, 0, 0)
2023-08-15 19:08:07 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Paiement::create Regenerate the document after inserting payment for thirdparty default_lang=null
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:08:07 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 19:08:07 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 19:08:07 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:08:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 4 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 19:08:07 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 4 AND sourcetype = 'facture') OR (fk_target = 4 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 4 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 4 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:08:07 INFO 94.73.41.43 bottomlasttab=221 this->page_hauteur=297 heightforinfotot=54 heightforfreetext=5 heightforfooter=18
2023-08-15 19:08:07 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:08:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:08:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.multicurrency_amount_ht, re.amount_tva, re.multicurrency_amount_tva, re.amount_ttc, re.multicurrency_amount_ttc, re.description, re.fk_facture_source, f.type, f.datef FROM oe_societe_remise_except as re, oe_facture as f WHERE re.fk_facture_source = f.rowid AND re.fk_facture = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT p.datep as date, p.fk_paiement, p.num_paiement as num, pf.amount as amount, pf.multicurrency_amount, cp.code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as cp ON p.fk_paiement = cp.id WHERE pf.fk_paiement = p.rowid AND pf.fk_facture = 4 ORDER BY p.datep
2023-08-15 19:08:07 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004/IN2302-0004.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 19:08:07 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004/IN2302-0004.pdf_preview.png
2023-08-15 19:08:07 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2302-0004' AND t.filename = 'IN2302-0004.pdf' AND t.entity = 1
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 19:08:07 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = 'b277065eb2a8ba844413d8734241b1a1', label = 'a6fd3f28c8d88b41b8a1fb897bb3a3da', share = null, entity = 1, filename = 'IN2302-0004.pdf', filepath = 'facture/IN2302-0004', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 21:05:30', fk_user_m = 1, acl = null, src_object_id = 4, src_object_type = 'facture' WHERE rowid=4
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2302-0004/IN2302-0004.pdf' WHERE rowid = 4
2023-08-15 19:08:07 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_CUSTOMER_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=4
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT pf.fk_facture FROM oe_paiement_facture as pf, oe_facture as f WHERE pf.fk_facture = f.rowid AND pf.fk_paiement = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key 2 not found into cache)
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_paiement WHERE id = '2'
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 BlockedLog::create action=PAYMENT_CUSTOMER_CREATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 21:08:07','PAYMENT_CUSTOMER_CREATE',2057.8,'6c8edc5710a1983f4e87921e66c7a910450f46e3f456c3d2ac79ce3df2a16052','f257ef14882d9bf8d2b3093789e910db1ad41858be278c037c0fd887d44990c1','payment',4,'2023-06-23 12:00:00','PAY2306-0004','O:8:\"stdClass\":7:{s:10:\"thirdparty\";O:8:\"stdClass\":9:{s:4:\"name\";s:38:\"INVERSIONES Y PATRIMONIO CASTELLANA,SL\";s:10:\"name_alias\";s:38:\"INVERSIONES Y PATRIMONIO CASTELLANA,SL\";s:7:\"address\";s:62:\"Paseo de la Castellana, no. 141 – Planta 17-C - 28046 MADRID\";s:3:\"zip\";s:10:\"B-82038605\";s:4:\"town\";s:6:\"madrid\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00004\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:3:\"ref\";s:12:\"PAY2306-0004\";s:4:\"date\";i:1687514400;s:9:\"type_code\";s:3:\"VIR\";s:12:\"payment_part\";a:1:{i:1;O:8:\"stdClass\":3:{s:6:\"amount\";s:6:\"2057.8\";s:10:\"thirdparty\";O:8:\"stdClass\":9:{s:4:\"name\";s:38:\"INVERSIONES Y PATRIMONIO CASTELLANA,SL\";s:10:\"name_alias\";s:38:\"INVERSIONES Y PATRIMONIO CASTELLANA,SL\";s:7:\"address\";s:62:\"Paseo de la Castellana, no. 141 – Planta 17-C - 28046 MADRID\";s:3:\"zip\";s:10:\"B-82038605\";s:4:\"town\";s:6:\"madrid\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00004\";s:12:\"country_code\";s:2:\"ES\";}s:7:\"invoice\";O:8:\"stdClass\":7:{s:4:\"date\";i:1676242800;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";s:13:\"1700.66000000\";s:9:\"total_tva\";s:12:\"357.14000000\";s:9:\"total_ttc\";s:13:\"2057.80000000\";s:12:\"revenuestamp\";s:10:\"0.00000000\";s:3:\"ref\";s:11:\"IN2302-0004\";}}}s:6:\"amount\";d:2057.8;}','',0,1,'SuperAdmin',1)
2023-08-15 19:08:07 INFO 94.73.41.43 addPaymentToBank 1, payment, , 1, ,
2023-08-15 19:08:07 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:08:07 WARNING 94.73.41.43 Account::addline: using numeric operations is deprecated
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT code FROM oe_c_paiement WHERE id = 2 AND entity IN (1)
2023-08-15 19:08:07 DEBUG 94.73.41.43 AccountLine::insert
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank (datec, dateo, datev, label, amount, amount_main_currency, fk_user_author, num_chq, fk_account, fk_type, emetteur,banque, rappro, numero_compte, num_releve) VALUES ('2023-08-15 21:08:07', '2023-06-23 12:00:00', '2023-06-23 12:00:00', '', 2057.8, NULL, 1, null, '1', 'VIR', null, null, 0, '', null)
2023-08-15 19:08:07 DEBUG 94.73.41.43 Paiement::update_fk_bank
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=UPDATE oe_paiement set fk_bank = 5 WHERE rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 5, 4, '/admin/htdocs/compta/paiement/card.php?id=', '(paiement)', 'payment')
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 4 ORDER BY l.rang, l.rowid
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 4
2023-08-15 19:08:07 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 5, 4, '/admin/htdocs/comm/card.php?socid=', 'INVERSIONES Y PATRIMONIO CASTELLANA,SL', 'company')
2023-08-15 19:08:07 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_ADD_TO_BANK' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=4
2023-08-15 19:08:07 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:08:07 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:08:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:08:08 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:08:08 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:08:08 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:08:08 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:08:08 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:08:08 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:08:08 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:08:08 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:08:08 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:08:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:08:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:08:08 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:08:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:08:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:08:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:08:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:08:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:08:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:08:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:08:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:08:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:08:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:08:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:08:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:08:08 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 19:08:08 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:08:14 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:08:14 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:08:14 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:14 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 19:08:14 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 19:08:14 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:08:14 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:08:14 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:08:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:08:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:08:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:08:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:08:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:08:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:08:14 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:08:14 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:08:14 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:08:14 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:08:14 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:08:14 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:08:14 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:08:19 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:08:19 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:08:19 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:19 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.entity IN (1) AND f.ref = 'provisoire'
2023-08-15 19:08:19 WARNING 94.73.41.43 Facture::fetchInvoice with id= or ref=provisoire or ref_ext= not found
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:08:19 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5
2023-08-15 19:08:19 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 5 AND entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:08:19 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 5 ORDER BY f.ref
2023-08-15 19:08:19 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 5 ORDER BY f.ref
2023-08-15 19:08:19 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 19:08:19 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:08:19 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:08:19 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:08:19 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:08:19 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:08:19 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:08:19 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:08:19 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:08:19 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:08:40 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:08:40 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:08:40 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:40 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:08:40 DEBUG 94.73.41.43 ROLLBACK Transaction
2023-08-15 19:08:40 WARNING 94.73.41.43 Try to add a message in stack with empty message
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:08:40 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5
2023-08-15 19:08:40 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 5 AND entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:08:40 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 5 ORDER BY f.ref
2023-08-15 19:08:40 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 5 ORDER BY f.ref
2023-08-15 19:08:40 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 19:08:40 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:08:40 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:08:40 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:08:40 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:08:40 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:08:40 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:08:40 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:08:40 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:08:40 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:08:53 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:08:53 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:08:53 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:53 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:08:53 INFO 94.73.41.43 Facture::create user=1 date=1677452400
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=INSERT INTO oe_facture ( ref, entity, ref_ext, type, fk_soc, datec, remise_absolue, remise_percent, datef, date_pointoftax, note_private, note_public, ref_client, fk_account, module_source, pos_source, fk_fac_rec_source, fk_facture_source, fk_user_author, fk_projet, fk_cond_reglement, fk_mode_reglement, date_lim_reglement, model_pdf, situation_cycle_ref, situation_counter, situation_final, fk_incoterms, location_incoterms, fk_multicurrency, multicurrency_code, multicurrency_tx, retained_warranty, retained_warranty_date_limit, retained_warranty_fk_cond_reglement) VALUES ('(PROV)', 1, null, '0', 5, '2023-08-15 21:08:53', NULL, NULL, '2023-02-27 00:00:00', null, null, 'FACTURA relativa a los trabajos que nuestra Sociedad ha realizado en IES\r\nPROFESOR JULIO PÉREZ – TRATAMIENTO DE GOTERA SOBRE\r\nBIBLIOTECA, según presupuesto número CA-1518/2022 ACT.I _ V-1557/2022', null, NULL, null, null, null, null, 1, null, 1, 0, '2023-02-28 00:00:00', 'crabe', null, null, 0, 0, '', 0, 'EUR', 1, 0, '2023-02-28 00:00:00', 0)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='(PROV6)' WHERE rowid=6
2023-08-15 19:08:53 INFO 94.73.41.43 There is 0 lines that are array lines
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 6 AND product_type <> 9 ORDER by rowid
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 6
2023-08-15 19:08:53 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=6
2023-08-15 19:08:53 INFO 94.73.41.43 Trigger 'ContactRoles' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_90_modSociete_ContactRoles.class.php. id=6
2023-08-15 19:08:53 DEBUG 94.73.41.43 Contact::getContactRoles
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT sc.fk_socpeople as id, sc.fk_c_type_contact FROM oe_c_type_contact tc, oe_societe_contacts sc INNER JOIN oe_socpeople sp ON sc.fk_socpeople = sp.rowid AND sp.statut = 1 WHERE sc.fk_soc =5 AND sc.fk_c_type_contact=tc.rowid AND tc.element = 'facture' AND tc.active = 1
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 6 AND product_type <> 9 ORDER by rowid
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 6
2023-08-15 19:08:53 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:08:53 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:08:53 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:08:53 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:08:53 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:08:53 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:08:53 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:08:53 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:08:53 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:08:53 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 6 AND pfd.ext_payment_id IS NULL
2023-08-15 19:08:53 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV6)' AND te.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV6)' AND te.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type = 2
2023-08-15 19:08:53 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:08:53 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 6
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:08:53 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:08:53 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:08:53 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:08:53 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:08:53 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:08:53 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 6
2023-08-15 19:08:53 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:08:53 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:08:53 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:08:53 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV6)'
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:08:53 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 6 AND sourcetype = 'facture') OR (fk_target = 6 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:08:53 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 6 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:08:53 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:08:53 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:08:53 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:09:11 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:09:11 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:09:11 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:09:11 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=5/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:09:11 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=5/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::addline id=6, pu_ht=3876.65, qty=1, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=CA-1518/2022 ACTUALIZACIÓ…
2023-08-15 19:09:11 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:09:11 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 19:09:11 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=5/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:09:11 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=5/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:09:11 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=3876.65 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:09:11 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=3876.65 qty=1 price_base_type=HT total_ht=3876.65-total_vat=814.1-total_ttc=4690.75
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 6
2023-08-15 19:09:11 DEBUG 94.73.41.43 FactureLigne::insert rang=1
2023-08-15 19:09:11 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (6, null, null, 'CA-1518/2022 ACTUALIZACIÓN I', 1, '', 21, 0, 0, '3', '5', null, 1, 0, 3876.65, '', null, null, null, 0, 1, 0, null, 0, '0', 3876.65, 814.1, 4690.75, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 3876.65, 3876.65, 814.1, 4690.75)
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 6 AND product_type <> 9 ORDER by rowid
2023-08-15 19:09:11 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=3876.65000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:09:11 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=3876.65000000 qty=1 price_base_type=HT total_ht=3876.65-total_vat=814.1-total_ttc=4690.75
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 3876.65, total_tva = 814.1, localtax1 = 0, localtax2 = 0, total_ttc = 4690.75, multicurrency_total_ht = 3876.65, multicurrency_total_tva = 814.1, multicurrency_total_ttc = 4690.75 WHERE rowid = 6
2023-08-15 19:09:11 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:11 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 19:09:11 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 19:09:11 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:09:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:11 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6)
2023-08-15 19:09:11 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV6)' does not exists or is outside open_basedir PHP setting.
2023-08-15 19:09:11 DEBUG 94.73.41.43 functions.lib::dol_mkdir: Directory '/home/iymllvj/oteimsa/admin/documents/facture/(PROV6)' created
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 19:09:11 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 6 AND sourcetype = 'facture') OR (fk_target = 6 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 6 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:11 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:09:11 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 19:09:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:11 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:11 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV6)' AND t.filename = '(PROV6).pdf' AND t.entity = 1
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 19:09:11 DEBUG 94.73.41.43 EcmFiles::create
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT MAX(position) as maxposition FROM oe_ecm_files WHERE filepath ='facture/(PROV6)'
2023-08-15 19:09:11 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=INSERT INTO oe_ecm_files(ref,label,share,entity,filename,filepath,fullpath_orig,description,keywords,cover,position,gen_or_uploaded,extraparams,date_c,tms,fk_user_c,fk_user_m,acl,src_object_type,src_object_id) VALUES ( '8c2388d1b95b6a9b4f35a05a4d57e74b', 'baf75638b7fa7162fbb2635b3ce5f5e1', NULL, 1, '(PROV6).pdf', 'facture/(PROV6)', '', '', '', NULL, 1, 'generated', NULL, '2023-08-15 21:09:11', '2023-08-15 21:09:11', 1, NULL, NULL, 'facture', 6)
2023-08-15 19:09:11 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV6)/(PROV6).pdf' WHERE rowid = 6
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:11 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:11 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:09:11 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:09:12 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:09:12 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:12 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:12 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:09:12 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:09:12 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:09:12 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 6 AND pfd.ext_payment_id IS NULL
2023-08-15 19:09:12 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV6)' AND te.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV6)' AND te.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type = 2
2023-08-15 19:09:12 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 6
2023-08-15 19:09:12 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:12 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:09:12 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:09:12 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:09:12 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:09:12 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:09:12 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 6
2023-08-15 19:09:12 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:09:12 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:09:12 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:09:12 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV6)'
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:12 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 6 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:09:12 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:09:12 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:09:12 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:09:12 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:09:12 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:09:12 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 19:09:12 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV6)/(PROV6).pdf_preview.png entity=1
2023-08-15 19:09:12 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV6)/(PROV6).pdf_preview.png filename=(PROV6).pdf_preview.png content-type=image/png
2023-08-15 19:09:12 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 19:09:22 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:09:22 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:09:22 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=addline, massaction=
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:09:22 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=5/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:09:22 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=5/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::addline id=6, pu_ht=75, qty=1, txtva=21, txlocaltax1=0, txlocaltax2=0, fk_product=0, remise_percent=0, date_start=, date_end=, ventil=0, info_bits=0, fk_remise_except=, price_base_type=HT, pu_ttc=0, type=1, fk_unit=, desc=CA-1557/2022
2023-08-15 19:09:22 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:09:22 INFO 94.73.41.43 getLocalTaxesFromRate vatrate=21 local=0
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT t.taux as rate, t.code, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.accountancy_code_sell, t.accountancy_code_buy FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.taux = 21 AND t.active = 1
2023-08-15 19:09:22 INFO 94.73.41.43 get_localtax tva=21 local=1 thirdparty_buyer id=5/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:09:22 INFO 94.73.41.43 get_localtax tva=21 local=2 thirdparty_buyer id=5/country_code=ES thirdparty_seller id=0/country_code=ES thirdparty_seller localtax1_assuj=0 thirdparty_seller localtax2_assuj=0
2023-08-15 19:09:22 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=75 remise_percent_ligne=0 txtva=21 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:09:22 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=75 qty=1 price_base_type=HT total_ht=75-total_vat=15.75-total_ttc=90.75
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::line_max
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT max(rang) FROM oe_facturedet WHERE fk_facture = 6
2023-08-15 19:09:22 DEBUG 94.73.41.43 FactureLigne::insert rang=2
2023-08-15 19:09:22 DEBUG 94.73.41.43 FactureLigne::insert
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=INSERT INTO oe_facturedet (fk_facture, fk_parent_line, label, description, qty, vat_src_code, tva_tx, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, fk_product, product_type, remise_percent, subprice, ref_ext, fk_remise_except, date_start, date_end, fk_code_ventilation, rang, special_code, fk_product_fournisseur_price, buy_price_ht, info_bits, total_ht, total_tva, total_ttc, total_localtax1, total_localtax2, situation_percent, fk_prev_id, fk_unit, fk_user_author, fk_user_modif, fk_multicurrency, multicurrency_code, multicurrency_subprice, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc) VALUES (6, null, null, 'CA-1557/2022', 1, '', 21, 0, 0, '3', '5', null, 1, 0, 75, '', null, null, null, 0, 2, 0, null, 0, '0', 75, 15.75, 90.75, 0, 0, 100, null, NULL, 1, 1, 0, 'EUR', 75, 75, 15.75, 90.75)
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 6 AND product_type <> 9 ORDER by rowid
2023-08-15 19:09:22 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=3876.65000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:09:22 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=3876.65000000 qty=1 price_base_type=HT total_ht=3876.65-total_vat=814.1-total_ttc=4690.75
2023-08-15 19:09:22 INFO 94.73.41.43 Price.lib::calcul_price_total qty=1 pu=75.00000000 remise_percent_ligne=0 txtva=21.0000 uselocaltax1_rate=0 uselocaltax2_rate=0 remise_percent_global=0 price_base_type=HT type=1 progress=100
2023-08-15 19:09:22 INFO 94.73.41.43 Price.lib::calcul_price_total MAIN_ROUNDING_RULE_TOT= pu=75.00000000 qty=1 price_base_type=HT total_ht=75-total_vat=15.75-total_ttc=90.75
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 3951.65, total_tva = 829.85, localtax1 = 0, localtax2 = 0, total_ttc = 4781.5, multicurrency_total_ht = 3951.65, multicurrency_total_tva = 829.85, multicurrency_total_ttc = 4781.5 WHERE rowid = 6
2023-08-15 19:09:22 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:22 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 19:09:22 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 19:09:22 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:09:22 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:22 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 19:09:22 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 6 AND sourcetype = 'facture') OR (fk_target = 6 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:09:22 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 6 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:22 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:09:22 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 19:09:22 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:22 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:22 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6)/(PROV6).pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 19:09:22 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/(PROV6)/(PROV6).pdf_preview.png
2023-08-15 19:09:22 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/(PROV6)' AND t.filename = '(PROV6).pdf' AND t.entity = 1
2023-08-15 19:09:22 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 19:09:22 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 19:09:22 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '8c2388d1b95b6a9b4f35a05a4d57e74b', label = '04e65171a5c00aca18dcbb755b8865da', share = null, entity = 1, filename = '(PROV6).pdf', filepath = 'facture/(PROV6)', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 21:09:11', fk_user_m = 1, acl = null, src_object_id = 6, src_object_type = 'facture' WHERE rowid=5
2023-08-15 19:09:23 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/(PROV6)/(PROV6).pdf' WHERE rowid = 6
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:23 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:23 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:23 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:09:23 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:09:23 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:23 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:23 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:09:23 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:09:23 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:09:23 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 6 AND pfd.ext_payment_id IS NULL
2023-08-15 19:09:23 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV6)' AND te.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV6)' AND te.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type = 2
2023-08-15 19:09:23 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 6
2023-08-15 19:09:23 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:23 DEBUG 94.73.41.43 Form::select_produits_list search products
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT p.rowid, p.ref, p.label, p.description, p.barcode, p.fk_country, p.fk_product_type, p.price, p.price_ttc, p.price_base_type, p.tva_tx, p.default_vat_code, p.duration, p.fk_price_expression, (CASE WHEN p.stock IS NULL THEN 0 ELSE p.stock END) AS stock FROM oe_product as p WHERE p.entity IN (1) AND p.tosell = 1 ORDER BY p.ref ASC LIMIT 1000
2023-08-15 19:09:23 INFO 94.73.41.43 DolEditor::DolEditor htmlname=dp_desc width= height=100 toolbarname=dolibarr_details
2023-08-15 19:09:23 DEBUG 94.73.41.43 Form::load_cache_vatrates
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT t.rowid, t.code, t.taux, t.localtax1, t.localtax1_type, t.localtax2, t.localtax2_type, t.recuperableonly FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND t.active > 0 AND c.code IN ('ES') ORDER BY t.code ASC, t.taux ASC, t.recuperableonly ASC
2023-08-15 19:09:23 INFO 94.73.41.43 get_default_tva: seller use vat=1, seller country=ES, seller in cee=1, buyer vat number= buyer country=ES, buyer in cee=1, idprod=0, idprodfournprice=0, SERVICE_ARE_ECOMMERCE_200238EC=
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT t.taux as vat_rate, t.code as default_vat_code FROM oe_c_tva as t, oe_c_country as c WHERE t.active = 1 AND t.fk_pays = c.rowid AND c.code = 'ES' ORDER BY t.use_default DESC, t.taux DESC, t.code ASC, t.recuperableonly ASC LIMIT 1
2023-08-15 19:09:23 INFO 94.73.41.43 get_product_vat_for_country: ret=21
2023-08-15 19:09:23 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 6
2023-08-15 19:09:23 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:09:23 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:09:23 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:09:23 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV6)'
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:23 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 6 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:09:23 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:09:23 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:09:23 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:09:23 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:09:23 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:09:23 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 19:09:23 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV6)/(PROV6).pdf_preview.png entity=1
2023-08-15 19:09:23 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV6)/(PROV6).pdf_preview.png filename=(PROV6).pdf_preview.png content-type=image/png
2023-08-15 19:09:23 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 19:09:27 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:09:27 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:09:27 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=valid, massaction=
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:27 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:09:27 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:27 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:27 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:09:27 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 6 AND pfd.ext_payment_id IS NULL
2023-08-15 19:09:27 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:09:27 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=IES PROFESOR JULIO PÉREZ, type=, mode=next
2023-08-15 19:09:27 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 19:09:27 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2302-0005
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT cc.code FROM oe_c_country as cc WHERE cc.eec = 1
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < '(PROV6)' AND te.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > '(PROV6)' AND te.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type = 2
2023-08-15 19:09:27 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:09:27 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 6
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:27 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/(PROV6) types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:09:27 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:09:27 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:09:27 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/(PROV6)'
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:27 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 6 AND sourcetype = 'facture') OR (fk_target = 6 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:09:27 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 6 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:09:27 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:09:27 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:09:27 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:09:27 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:09:27 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:09:27 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 19:09:27 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=(PROV6)/(PROV6).pdf_preview.png entity=1
2023-08-15 19:09:27 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/(PROV6)/(PROV6).pdf_preview.png filename=(PROV6).pdf_preview.png content-type=image/png
2023-08-15 19:09:27 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 19:09:30 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:09:30 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:09:30 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=confirm_valid, massaction=
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:09:30 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:30 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:09:30 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=IES PROFESOR JULIO PÉREZ, type=, mode=next
2023-08-15 19:09:30 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=next
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 19:09:30 INFO 94.73.41.43 mod_facture_terre::getNextValue return IN2302-0005
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 6 AND product_type <> 9 ORDER by rowid
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 3951.65, total_tva = 829.85, localtax1 = 0, localtax2 = 0, total_ttc = 4781.5, multicurrency_total_ht = 3951.65, multicurrency_total_tva = 829.85, multicurrency_total_ttc = 4781.5 WHERE rowid = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::validate
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref = 'IN2302-0005', fk_statut = 1, fk_user_valid = 1, date_valid = '2023-08-15 21:09:30' WHERE rowid = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=UPDATE oe_societe SET client = 1 WHERE rowid = 5
2023-08-15 19:09:30 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=6
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 6 AND targettype = 'facture' AND sourcetype = 'commande' ORDER BY sourcetype
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE fk_target = 6 AND targettype = 'facture' AND sourcetype = 'propal' ORDER BY sourcetype
2023-08-15 19:09:30 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=6
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:30 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 19:09:30 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 21:09:30', '2023-08-15 21:09:30', '2023-08-15 21:09:30', null, 40,'AC_BILL_VALIDATE', null, 5, null, 'Factura IN2302-0005 validada', null, 1, 1, null, 'Factura IN2302-0005 validada', '-1', '0', '0', '', '0', 6, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='33' WHERE id=33
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(33, 'user', 1, 0, 0, 0)
2023-08-15 19:09:30 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_VALIDATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=6
2023-08-15 19:09:30 DEBUG 94.73.41.43 BlockedLog::create action=BILL_VALIDATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 21:09:30','BILL_VALIDATE',4781.5,'a046fd405829a9b58bac89ffae38bf482cc7ac587ff5c528cecb29727d307d25','7b2318b4913dc8c451830b6dad87b73ae26eed3900d39da9c2e61447cd67f671','facture',6,'2023-02-27 00:00:00','IN2302-0005','O:8:\"stdClass\":11:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:25:\"IES PROFESOR JULIO PÉREZ\";s:10:\"name_alias\";s:25:\"IES PROFESOR JULIO PÉREZ\";s:7:\"address\";s:52:\"Avenida de Levante no 141, RIVAS VACIMADRID (MADRID)\";s:7:\"idprof1\";s:9:\"S-2800176\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00005\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:4:\"date\";i:1677452400;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";d:3951.65;s:9:\"total_tva\";d:829.85;s:9:\"total_ttc\";d:4781.5;s:12:\"revenuestamp\";s:10:\"0.00000000\";s:11:\"invoiceline\";a:2:{i:1;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:13:\"3876.65000000\";s:23:\"multicurrency_total_tva\";s:12:\"814.10000000\";s:23:\"multicurrency_total_ttc\";s:13:\"4690.75000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"1\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:13:\"3876.65000000\";s:9:\"total_tva\";s:12:\"814.10000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:13:\"4690.75000000\";s:9:\"info_bits\";s:1:\"0\";}i:2;O:8:\"stdClass\":15:{s:18:\"multicurrency_code\";s:3:\"EUR\";s:22:\"multicurrency_total_ht\";s:11:\"75.00000000\";s:23:\"multicurrency_total_tva\";s:11:\"15.75000000\";s:23:\"multicurrency_total_ttc\";s:11:\"90.75000000\";s:12:\"product_type\";s:1:\"1\";s:3:\"qty\";s:1:\"1\";s:6:\"tva_tx\";s:7:\"21.0000\";s:12:\"localtax1_tx\";s:6:\"0.0000\";s:12:\"localtax2_tx\";s:6:\"0.0000\";s:8:\"total_ht\";s:11:\"75.00000000\";s:9:\"total_tva\";s:11:\"15.75000000\";s:15:\"total_localtax1\";s:10:\"0.00000000\";s:15:\"total_localtax2\";s:10:\"0.00000000\";s:9:\"total_ttc\";s:11:\"90.75000000\";s:9:\"info_bits\";s:1:\"0\";}}s:3:\"ref\";s:11:\"IN2302-0005\";s:11:\"note_public\";s:200:\"FACTURA relativa a los trabajos que nuestra Sociedad ha realizado en IES\r\nPROFESOR JULIO PÉREZ – TRATAMIENTO DE GOTERA SOBRE\r\nBIBLIOTECA, según presupuesto número CA-1518/2022 ACT.I _ V-1557/2022\";}','',0,1,'SuperAdmin',1)
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files set filename = CONCAT('IN2302-0005', SUBSTR(filename, 8)), filepath = 'facture/IN2302-0005' WHERE filename LIKE '(PROV6)%' AND filepath = 'facture/(PROV6)' and entity = 1
2023-08-15 19:09:30 INFO 94.73.41.43 Facture::validate rename dir /home/iymllvj/oteimsa/admin/documents/facture/(PROV6) into /home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005
2023-08-15 19:09:30 INFO 94.73.41.43 Rename ok
2023-08-15 19:09:30 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005 types=files recursive=1 filter=^\(PROV6\) excludefilter=null
2023-08-15 19:09:30 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:30 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 19:09:30 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 19:09:30 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 19:09:30 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 6 AND sourcetype = 'facture') OR (fk_target = 6 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 6 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:30 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:09:30 INFO 94.73.41.43 bottomlasttab=225 this->page_hauteur=297 heightforinfotot=50 heightforfreetext=5 heightforfooter=18
2023-08-15 19:09:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:30 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005/IN2302-0005.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 19:09:30 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005/IN2302-0005.pdf_preview.png
2023-08-15 19:09:30 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2302-0005' AND t.filename = 'IN2302-0005.pdf' AND t.entity = 1
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 19:09:30 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 19:09:30 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '7ac47d8226f52461b55ee42dd97e76e7', label = 'dc08f33cdf5cfac126e0934438317770', share = null, entity = 1, filename = 'IN2302-0005.pdf', filepath = 'facture/IN2302-0005', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 21:09:11', fk_user_m = 1, acl = null, src_object_id = 6, src_object_type = 'facture' WHERE rowid=5
2023-08-15 19:09:30 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2302-0005/IN2302-0005.pdf' WHERE rowid = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:09:30 DEBUG 94.73.41.43 useRevenueStamp
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nb FROM oe_c_revenuestamp as r, oe_c_country as c WHERE r.fk_pays = c.rowid AND c.code = 'ES' AND r.active = 1
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:09:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:09:30 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:09:30 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NULL OR (description LIKE '(DEPOSIT)%' AND description NOT LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:09:30 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 5 AND (fk_facture_source IS NOT NULL AND (description NOT LIKE '(DEPOSIT)%' OR description LIKE '(EXCESS RECEIVED)%'))
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 ORDER BY fk_statut DESC
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, '-1' as socid, t.statut as statuscontact, t.login, t.photo, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_user t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'internal' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:09:30 DEBUG 94.73.41.43 Facture::liste_contact
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT ec.rowid, ec.statut as statuslink, ec.fk_socpeople as id, ec.fk_c_type_contact, t.fk_soc as socid, t.statut as statuscontact, t.civility as civility, t.lastname as lastname, t.firstname, t.email, tc.source, tc.element, tc.code, tc.libelle FROM oe_c_type_contact tc, oe_element_contact ec LEFT JOIN oe_socpeople t on ec.fk_socpeople = t.rowid WHERE ec.element_id = 6 AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.active = 1 ORDER BY t.lastname ASC
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT COUNT(pfd.rowid) as nb FROM oe_prelevement_demande as pfd WHERE pfd.fk_facture = 6 AND pfd.ext_payment_id IS NULL
2023-08-15 19:09:30 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*\\.png)$"
2023-08-15 19:09:30 DEBUG 94.73.41.43 sql=SELECT COUNT(rowid) as nb FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT MAX(te.ref) FROM oe_facture as te WHERE te.ref < 'IN2302-0005' AND te.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT MIN(te.ref) FROM oe_facture as te WHERE te.ref > 'IN2302-0005' AND te.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type = 2
2023-08-15 19:09:31 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT p.datep as dp, p.ref, p.num_paiement as num_payment, p.rowid, p.fk_bank, c.code as payment_code, c.libelle as payment_label, pf.amount, ba.rowid as baid, ba.ref as baref, ba.label, ba.number as banumber, ba.account_number, ba.fk_accountancy_journal, ba.currency_code as bacurrency_code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as c ON p.fk_paiement = c.id LEFT JOIN oe_bank as b ON p.fk_bank = b.rowid LEFT JOIN oe_bank_account as ba ON b.fk_account = ba.rowid WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.entity IN (1) ORDER BY p.datep, p.tms
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.amount_tva, re.amount_ttc, re.description, re.fk_facture_source FROM oe_societe_remise_except as re WHERE fk_facture = 6
2023-08-15 19:09:31 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 6
2023-08-15 19:09:31 DEBUG 94.73.41.43 DiscountAbsolute::fetch
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT sr.rowid, sr.fk_soc, sr.discount_type, sr.fk_user, sr.amount_ht, sr.amount_tva, sr.amount_ttc, sr.tva_tx, sr.vat_src_code, sr.multicurrency_amount_ht, sr.multicurrency_amount_tva, sr.multicurrency_amount_ttc, sr.fk_facture_line, sr.fk_facture, sr.fk_facture_source, sr.fk_invoice_supplier_line, sr.fk_invoice_supplier, sr.fk_invoice_supplier_source, sr.description, sr.datec, f.ref as ref_facture_source, f.type as type_facture_source, fsup.ref as ref_invoice_supplier_source, fsup.type as type_invoice_supplier_source FROM oe_societe_remise_except as sr LEFT JOIN oe_facture as f ON sr.fk_facture_source = f.rowid LEFT JOIN oe_facture_fourn as fsup ON sr.fk_invoice_supplier_source = fsup.rowid WHERE sr.entity IN (1) AND sr.fk_facture_source = 6
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT COUNT(ab.rowid) as nb FROM oe_accounting_bookkeeping as ab WHERE ab.doc_type='customer_invoice' AND ab.fk_doc = 6
2023-08-15 19:09:31 DEBUG 94.73.41.43 Call getNextNumRef with FACTURE_ADDON = mod_facture_terre, thirdparty=IES PROFESOR JULIO PÉREZ, type=, mode=last
2023-08-15 19:09:31 DEBUG 94.73.41.43 mod_facture_terre::getNextValue mode=last
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 8) AS SIGNED)) as max FROM oe_facture WHERE ref LIKE 'IN____-%' AND entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT ref as ref FROM oe_facture WHERE ref LIKE 'IN____-0005' AND entity IN (1) ORDER BY ref DESC
2023-08-15 19:09:31 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:09:31 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:09:31 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:09:31 DEBUG 94.73.41.43 Link::fetchAll
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT rowid, entity, datea, url, label, objecttype, objectid FROM oe_links WHERE objecttype = 'facture' AND objectid = 6 AND entity = 1
2023-08-15 19:09:31 DEBUG 94.73.41.43 Link::fetchAll num=0
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT rowid, label, entity, filename, filepath, fullpath_orig, keywords, cover, gen_or_uploaded, extraparams, date_c, tms as date_m, fk_user_c, fk_user_m, acl, position, share FROM oe_ecm_files WHERE entity = 1 AND filepath = 'facture/IN2302-0005'
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_propal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_expedition as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_client, t.total_ht FROM oe_societe as s, oe_commande as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.titre as ref, t.total_ht FROM oe_societe as s, oe_facture_rec as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_customer as ref_client, t.ref_supplier, SUM(td.total_ht) as total_ht
FROM oe_societe as s, oe_contrat as t, oe_contratdet as td WHERE t.fk_soc = s.rowid AND td.fk_contrat = t.rowid AND t.fk_soc IN (5) AND t.entity IN (1) GROUP BY s.rowid, s.nom, s.client, t.rowid, t.ref, t.ref_customer, t.ref_supplier
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref FROM oe_societe as s, oe_fichinter as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, '' as ref_supplier, t.total_ht FROM oe_societe as s, oe_supplier_proposal as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_commande_fournisseur as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.ref_supplier, t.total_ht FROM oe_societe as s, oe_facture_fourn as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT s.rowid as socid, s.nom as name, s.client, t.rowid, t.ref, t.track_id, '0' as total_ht FROM oe_societe as s, oe_ticket as t WHERE t.fk_soc = s.rowid AND t.fk_soc IN (5) AND t.entity IN (1)
2023-08-15 19:09:31 DEBUG 94.73.41.43 ActionComm::getActions
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT a.id FROM oe_actioncomm as a WHERE a.entity IN (1) AND a.fk_element = 6 AND a.elementtype = 'invoice' ORDER BY a.datep DESC, a.id DESC
2023-08-15 19:09:31 DEBUG 94.73.41.43 ActionComm::fetch
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT a.id, a.ref as ref, a.entity, a.ref_ext, a.datep, a.datep2, a.durationp, a.datec, a.tms as datem, a.code, a.label, a.note as note_private, a.fk_soc, a.fk_project, a.fk_user_author, a.fk_user_mod, a.fk_user_action, a.fk_user_done, a.fk_contact, a.percent as percentage, a.fk_element as elementid, a.elementtype, a.priority, a.fulldayevent, a.location, a.transparency, a.email_msgid, a.email_subject, a.email_from, a.email_sender, a.email_to, a.email_tocc, a.email_tobcc, a.errors_to, c.id as type_id, c.type as type_type, c.code as type_code, c.libelle as type_label, c.color as type_color, c.picto as type_picto, s.nom as socname, u.firstname, u.lastname as lastname, num_vote, event_paid, a.status FROM oe_actioncomm as a LEFT JOIN oe_c_actioncomm as c ON a.fk_action=c.id LEFT JOIN oe_user as u on u.rowid = a.fk_user_author LEFT JOIN oe_societe as s on s.rowid = a.fk_soc WHERE a.id = 33
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'actioncomm' ORDER BY pos
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT fk_actioncomm, element_type, fk_element, answer_status, mandatory, transparency FROM oe_actioncomm_resources WHERE fk_actioncomm = 33 AND element_type IN ('user', 'socpeople')
2023-08-15 19:09:31 DEBUG 94.73.41.43 CActionComm::liste_array
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, module, type, color, picto FROM oe_c_actioncomm WHERE 1=1 AND active=1 ORDER BY type, position, module
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IS NOT NULL AND u.rowid = 1 ORDER BY u.entity ASC
2023-08-15 19:09:31 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:09:31 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:09:31 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:09:31 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:09:31 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/viewimage.php - action=, massaction= NOTOKENRENEWAL=1
2023-08-15 19:09:31 INFO 94.73.41.43 dol_check_secure_access_document modulepart=apercufacture original_file=IN2302-0005/IN2302-0005.pdf_preview.png entity=1
2023-08-15 19:09:31 INFO 94.73.41.43 viewimage.php return file /home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005/IN2302-0005.pdf_preview.png filename=IN2302-0005.pdf_preview.png content-type=image/png
2023-08-15 19:09:31 INFO 94.73.41.43 --- End access to /admin/htdocs/viewimage.php
2023-08-15 19:11:50 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:11:50 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:11:50 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/list.php - action=, massaction=
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:11:50 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:11:50 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:11:50 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:11:50 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:11:50 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:11:50 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:11:50 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:11:50 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:11:50 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:11:50 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:11:50 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:11:50 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:11:50 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005 types=files recursive=0 filter=^IN2302\-0005\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:11:50 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:11:50 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:11:50 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:11:50 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:50 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:11:50 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:50 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:11:50 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:11:55 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:11:55 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:11:55 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=validate
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:11:55 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:11:55 INFO 94.73.41.43 Facture::validate user=1, force_number=, idwarehouse=0
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:11:55 WARNING 94.73.41.43 Facture::validate status is not draft. operation canceled.
2023-08-15 19:11:55 DEBUG 94.73.41.43 ROLLBACK Transaction
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:11:55 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:11:55 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:11:55 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:11:55 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:11:55 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:11:55 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:11:55 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:11:55 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:11:55 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:11:55 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:11:55 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:11:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:11:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005 types=files recursive=0 filter=^IN2302\-0005\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:11:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:11:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:11:55 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:11:55 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:11:55 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:11:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:11:55 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:11:55 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 19:11:55 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:11:59 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:11:59 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:11:59 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=list, massaction=makepayment
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:11:59 DEBUG 94.73.41.43 Form::select_types_paiements , paiementid, , 0
2023-08-15 19:11:59 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:11:59 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:11:59 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:11:59 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:12:00 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:12:00 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:12:00 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:12:00 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:12:00 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:12:00 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:12:00 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:12:00 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:12:00 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:12:00 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:12:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:12:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005 types=files recursive=0 filter=^IN2302\-0005\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:12:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:12:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:12:00 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:12:00 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:00 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:12:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:00 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:12:00 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 19:12:00 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:12:07 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:12:07 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:12:07 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/list.php - action=makepayment_confirm, massaction=
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:12:07 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:12:07 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facturedet' ORDER BY pos
2023-08-15 19:12:07 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:12:07 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:12:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:12:07 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:12:07 INFO 94.73.41.43 Facture::setBankAccount(1)
2023-08-15 19:12:07 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_account = 1 WHERE rowid=6
2023-08-15 19:12:07 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'FACTURE_MODIFY' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=6
2023-08-15 19:12:08 DEBUG 94.73.41.43 MultiCurrency::getInvoiceRate
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT multicurrency_tx FROM oe_facture WHERE rowid = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 Paiement::create insert paiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT MAX(CAST(SUBSTRING(ref FROM 9) AS SIGNED)) as max FROM oe_paiement WHERE ref LIKE 'PAY____-%' AND entity = 1
2023-08-15 19:12:08 INFO 94.73.41.43 mod_payment_cicada::getNextValue return PAY2306-0005
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement (entity, ref, ref_ext, datec, datep, amount, multicurrency_amount, fk_paiement, num_paiement, note, ext_payment_id, ext_payment_site, fk_user_creat, pos_change) VALUES (1, 'PAY2306-0005', '', '2023-08-15 21:12:08', '2023-06-23 12:00:00', 4781.5, 4781.5, 2, '', '', null, null, 1, 0)
2023-08-15 19:12:08 DEBUG 94.73.41.43 Paiement::create Amount line 6 insert paiement_facture
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=INSERT INTO oe_paiement_facture (fk_facture, fk_paiement, amount, multicurrency_amount) VALUES (6, 5, 4781.5, 4781.5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::setPaid rowid=6
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET fk_statut=2, paye=1, fk_user_closing = 1, date_closing = '2023-08-15 21:12:08' WHERE rowid = 6
2023-08-15 19:12:08 INFO 94.73.41.43 Trigger 'WorkflowManager' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_20_modWorkflow_WorkflowManager.class.php. id=6
2023-08-15 19:12:08 INFO 94.73.41.43 Trigger 'ActionsAuto' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modAgenda_ActionsAuto.class.php. id=6
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:12:08 DEBUG 94.73.41.43 CActionComm::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT id, code, type, libelle as label, color, active, picto FROM oe_c_actioncomm WHERE code='AC_OTH_AUTO'
2023-08-15 19:12:08 DEBUG 94.73.41.43 ActionComm::add
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm(ref,datec,datep,datep2,durationp,fk_action,code,ref_ext,fk_soc,fk_project,note,fk_contact,fk_user_author,fk_user_action,fk_user_done,label,percent,priority,fulldayevent,location,transparency,fk_element,elementtype,entity,extraparams,email_msgid,email_from,email_sender,email_to,email_tocc,email_tobcc,email_subject,errors_to,recurid,recurrule,recurdateend,num_vote,event_paid,status,ip) VALUES ('(PROV)', '2023-08-15 21:12:08', '2023-08-15 21:12:08', '2023-08-15 21:12:08', null, 40,'AC_BILL_PAYED', null, 5, null, 'Factura IN2302-0005 pasada a pagada', null, 1, 1, null, 'Factura IN2302-0005 pasada a pagada', '-1', '0', '0', '', '0', 6, 'invoice', 1,null, null, null, null, null, null, null, null, null, null, null, null, null, 0, 0, null)
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=UPDATE oe_actioncomm SET ref='34' WHERE id=34
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=INSERT INTO oe_actioncomm_resources(fk_actioncomm, element_type, fk_element, mandatory, transparency, answer_status) VALUES(34, 'user', 1, 0, 0, 0)
2023-08-15 19:12:08 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_PAYED' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=6
2023-08-15 19:12:08 DEBUG 94.73.41.43 Paiement::create Regenerate the document after inserting payment for thirdparty default_lang=null
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:12:08 INFO 94.73.41.43 commonGenerateDocument modele=crabe outputlangs->defaultlang=es_ES
2023-08-15 19:12:08 INFO 94.73.41.43 pdf_getFormat Get paper format with mode=setup MAIN_PDF_FORMAT=null outputlangs->defaultlang=null and langs->defaultlang=es_ES
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT code, label, width, height, unit FROM oe_c_paper_format WHERE code = 'EUA4'
2023-08-15 19:12:08 INFO 94.73.41.43 write_file outputlangs->defaultlang=es_ES
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getListOfPayments
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT p.ref, pf.amount, pf.multicurrency_amount, p.fk_paiement, p.datep, p.num_paiement as num, t.code, p.ref_ext FROM oe_paiement_facture as pf, oe_paiement as p, oe_c_paiement as t WHERE pf.fk_facture = 6 AND pf.fk_paiement = p.rowid AND p.fk_paiement = t.id AND p.entity IN (1)
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rc.amount_ttc as amount, rc.multicurrency_amount_ttc as multicurrency_amount, rc.datec as date, f.ref as ref, rc.description as type FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND (f.type = 2 OR f.type = 0 OR f.type = 3)
2023-08-15 19:12:08 INFO 94.73.41.43 functions.lib::dol_mkdir: dir=/home/iymllvj/oteimsa/admin/documents/admin/temp/
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rowid FROM oe_facture WHERE fk_facture_source = 6 AND type < 2 AND fk_statut = 1 ORDER BY fk_statut DESC
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetchObjectLink
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rowid, fk_source, sourcetype, fk_target, targettype FROM oe_element_element WHERE (fk_source = 6 AND sourcetype = 'facture') OR (fk_target = 6 AND targettype = 'facture') ORDER BY sourcetype
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getIdContact
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT ec.fk_socpeople FROM oe_element_contact as ec, oe_socpeople as c, oe_c_type_contact as tc WHERE ec.element_id = 6 AND ec.fk_socpeople = c.rowid AND c.entity IN (1) AND ec.fk_c_type_contact = tc.rowid AND tc.element = 'facture' AND tc.source = 'external' AND tc.code = 'BILLING' AND tc.active = 1
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:12:08 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:12:08 INFO 94.73.41.43 bottomlasttab=221 this->page_hauteur=297 heightforinfotot=54 heightforfreetext=5 heightforfooter=18
2023-08-15 19:12:08 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'bank_account' ORDER BY pos
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT re.rowid, re.amount_ht, re.multicurrency_amount_ht, re.amount_tva, re.multicurrency_amount_tva, re.amount_ttc, re.multicurrency_amount_ttc, re.description, re.fk_facture_source, f.type, f.datef FROM oe_societe_remise_except as re, oe_facture as f WHERE re.fk_facture_source = f.rowid AND re.fk_facture = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT p.datep as date, p.fk_paiement, p.num_paiement as num, pf.amount as amount, pf.multicurrency_amount, cp.code FROM oe_paiement_facture as pf, oe_paiement as p LEFT JOIN oe_c_paiement as cp ON p.fk_paiement = cp.id WHERE pf.fk_paiement = p.rowid AND pf.fk_facture = 6 ORDER BY p.datep
2023-08-15 19:12:08 INFO 94.73.41.43 dol_delete_file file=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005/IN2302-0005.pdf_preview.png disableglob=1 nophperrors=0 nohook=0
2023-08-15 19:12:08 DEBUG 94.73.41.43 Removed file /home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005/IN2302-0005.pdf_preview.png
2023-08-15 19:12:08 DEBUG 94.73.41.43 EcmFiles::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT t.rowid, t.ref, t.label, t.share, t.entity, t.filename, t.filepath, t.fullpath_orig, t.description, t.keywords, t.cover, t.position, t.gen_or_uploaded, t.extraparams, t.date_c, t.tms as date_m, t.fk_user_c, t.fk_user_m, t.note_private, t.note_public, t.acl, t.src_object_type, t.src_object_id FROM oe_ecm_files as t WHERE 1 = 1 AND t.filepath = 'facture/IN2302-0005' AND t.filename = 'IN2302-0005.pdf' AND t.entity = 1
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'ecm_files' ORDER BY pos
2023-08-15 19:12:08 DEBUG 94.73.41.43 EcmFiles::update
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=UPDATE oe_ecm_files SET ref = '7ac47d8226f52461b55ee42dd97e76e7', label = 'fb423159390cf3d152a0e3408358d76f', share = null, entity = 1, filename = 'IN2302-0005.pdf', filepath = 'facture/IN2302-0005', fullpath_orig = '', description = '', keywords = '', cover = null, position = 1, gen_or_uploaded = 'generated', extraparams = null, date_c = '2023-08-15 21:09:11', fk_user_m = 1, acl = null, src_object_id = 6, src_object_type = 'facture' WHERE rowid=5
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET last_main_doc = 'facture/IN2302-0005/IN2302-0005.pdf' WHERE rowid = 6
2023-08-15 19:12:08 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_CUSTOMER_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=5
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT pf.fk_facture FROM oe_paiement_facture as pf, oe_facture as f WHERE pf.fk_facture = f.rowid AND pf.fk_paiement = 5
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:12:08 DEBUG 94.73.41.43 dol_getIdFromCode (value for field code from key 2 not found into cache)
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT code as valuetoget FROM oe_c_paiement WHERE id = '2'
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:12:08 DEBUG 94.73.41.43 BlockedLog::create action=PAYMENT_CUSTOMER_CREATE fk_user=1 user_fullname=SuperAdmin
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT rowid, signature FROM oe_blockedlog WHERE entity=1 ORDER BY rowid DESC LIMIT 1 FOR UPDATE
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=INSERT INTO oe_blockedlog ( date_creation, action, amounts, signature, signature_line, element, fk_object, date_object, ref_object, object_data, object_version, certified, fk_user, user_fullname, entity) VALUES ('2023-08-15 21:12:08','PAYMENT_CUSTOMER_CREATE',4781.5,'8d6be6633fb021f46714d95ce8f3995139ddc1fad826df185e2a261be7ad7bd5','396fc256caac986cf148a7fcc1d8aafece8ce7d7abae9a75e825042b9fd4275b','payment',5,'2023-06-23 12:00:00','PAY2306-0005','O:8:\"stdClass\":7:{s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:25:\"IES PROFESOR JULIO PÉREZ\";s:10:\"name_alias\";s:25:\"IES PROFESOR JULIO PÉREZ\";s:7:\"address\";s:52:\"Avenida de Levante no 141, RIVAS VACIMADRID (MADRID)\";s:7:\"idprof1\";s:9:\"S-2800176\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00005\";s:12:\"country_code\";s:2:\"ES\";}s:9:\"mycompany\";O:8:\"stdClass\":8:{s:4:\"name\";s:66:\"Obras Y Técnicas En Impermeabilización Y Sistemas Auxiliares S.L\";s:7:\"address\";s:34:\"Calle Ciudad de Frias, 21 - NAVE 6\";s:3:\"zip\";s:5:\"28021\";s:4:\"town\";s:6:\"Madrid\";s:10:\"state_code\";s:1:\"M\";s:15:\"localtax1_assuj\";i:0;s:15:\"localtax2_assuj\";i:0;s:12:\"country_code\";s:2:\"ES\";}s:3:\"ref\";s:12:\"PAY2306-0005\";s:4:\"date\";i:1687514400;s:9:\"type_code\";s:3:\"VIR\";s:12:\"payment_part\";a:1:{i:1;O:8:\"stdClass\":3:{s:6:\"amount\";s:6:\"4781.5\";s:10:\"thirdparty\";O:8:\"stdClass\":8:{s:4:\"name\";s:25:\"IES PROFESOR JULIO PÉREZ\";s:10:\"name_alias\";s:25:\"IES PROFESOR JULIO PÉREZ\";s:7:\"address\";s:52:\"Avenida de Levante no 141, RIVAS VACIMADRID (MADRID)\";s:7:\"idprof1\";s:9:\"S-2800176\";s:15:\"localtax1_value\";s:6:\"0.0000\";s:15:\"localtax2_value\";s:6:\"0.0000\";s:11:\"code_client\";s:12:\"CU2308-00005\";s:12:\"country_code\";s:2:\"ES\";}s:7:\"invoice\";O:8:\"stdClass\":8:{s:4:\"date\";i:1677452400;s:4:\"type\";s:1:\"0\";s:8:\"total_ht\";s:13:\"3951.65000000\";s:9:\"total_tva\";s:12:\"829.85000000\";s:9:\"total_ttc\";s:13:\"4781.50000000\";s:12:\"revenuestamp\";s:10:\"0.00000000\";s:3:\"ref\";s:11:\"IN2302-0005\";s:11:\"note_public\";s:200:\"FACTURA relativa a los trabajos que nuestra Sociedad ha realizado en IES\r\nPROFESOR JULIO PÉREZ – TRATAMIENTO DE GOTERA SOBRE\r\nBIBLIOTECA, según presupuesto número CA-1518/2022 ACT.I _ V-1557/2022\";}}}s:6:\"amount\";d:4781.5;}','',0,1,'SuperAdmin',1)
2023-08-15 19:12:08 INFO 94.73.41.43 addPaymentToBank 1, payment, , 1, ,
2023-08-15 19:12:08 DEBUG 94.73.41.43 Account::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT ba.rowid, ba.ref, ba.label, ba.bank, ba.number, ba.courant, ba.clos, ba.rappro, ba.url, ba.code_banque, ba.code_guichet, ba.cle_rib, ba.bic, ba.iban_prefix as iban, ba.domiciliation, ba.pti_in_ctti, ba.proprio, ba.owner_address, ba.state_id, ba.fk_pays as country_id, ba.account_number, ba.fk_accountancy_journal, ba.currency_code, ba.min_allowed, ba.min_desired, ba.comment, ba.datec as date_creation, ba.tms as date_update, ba.ics, ba.ics_transfer, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state , aj.code as accountancy_journal FROM oe_bank_account as ba LEFT JOIN oe_c_country as c ON ba.fk_pays = c.rowid LEFT JOIN oe_c_departements as d ON ba.state_id = d.rowid LEFT JOIN oe_accounting_journal as aj ON aj.rowid=ba.fk_accountancy_journal WHERE ba.entity IN (1) AND ba.rowid = 1
2023-08-15 19:12:08 WARNING 94.73.41.43 Account::addline: using numeric operations is deprecated
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT code FROM oe_c_paiement WHERE id = 2 AND entity IN (1)
2023-08-15 19:12:08 DEBUG 94.73.41.43 AccountLine::insert
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank (datec, dateo, datev, label, amount, amount_main_currency, fk_user_author, num_chq, fk_account, fk_type, emetteur,banque, rappro, numero_compte, num_releve) VALUES ('2023-08-15 21:12:08', '2023-06-23 12:00:00', '2023-06-23 12:00:00', '', 4781.5, NULL, 1, null, '1', 'VIR', null, null, 0, '', null)
2023-08-15 19:12:08 DEBUG 94.73.41.43 Paiement::update_fk_bank
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=UPDATE oe_paiement set fk_bank = 6 WHERE rowid = 5
2023-08-15 19:12:08 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 6, 5, '/admin/htdocs/compta/paiement/card.php?id=', '(paiement)', 'payment')
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 6 ORDER BY l.rang, l.rowid
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 5
2023-08-15 19:12:08 DEBUG 94.73.41.43 Account::add_url_line
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=INSERT INTO oe_bank_url (fk_bank, url_id, url, label, type) VALUES ( 6, 5, '/admin/htdocs/comm/card.php?socid=', 'IES PROFESOR JULIO PÉREZ', 'company')
2023-08-15 19:12:08 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'PAYMENT_ADD_TO_BANK' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=5
2023-08-15 19:12:08 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT COUNT(*) as nbtotalofrecords FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1)
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT f.rowid as id, f.ref, f.ref_client, f.fk_soc, f.type, f.note_private, f.note_public, f.increment, f.fk_mode_reglement, f.fk_cond_reglement, f.total_ht, f.total_tva, f.total_ttc, f.localtax1 as total_localtax1, f.localtax2 as total_localtax2, f.fk_user_author, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva as multicurrency_total_vat, f.multicurrency_total_ttc, f.datef, f.date_valid, f.date_lim_reglement as datelimite, f.module_source, f.pos_source, f.paye as paye, f.fk_statut, f.close_code, f.datec as date_creation, f.tms as date_update, f.date_closing as date_closing, f.retained_warranty, f.retained_warranty_date_limit, f.situation_final, f.situation_cycle_ref, f.situation_counter, s.rowid as socid, s.nom as name, s.name_alias as alias, s.email, s.phone, s.fax, s.address, s.town, s.zip, s.fk_pays, s.client, s.fournisseur, s.code_client, s.code_fournisseur, s.code_compta as code_compta_client, s.code_compta_fournisseur, s.parent as fk_parent, s2.nom as name2, typent.code as typent_code, state.code_departement as state_code, state.nom as state_name, country.code as country_code, f.fk_fac_rec_source, p.rowid as project_id, p.ref as project_ref, p.title as project_label, u.login, u.lastname, u.firstname, u.email as user_email, u.statut as user_statut, u.entity, u.photo, u.office_phone, u.office_fax, u.user_mobile, u.job, u.gender FROM oe_societe as s LEFT JOIN oe_societe as s2 ON s2.rowid = s.parent LEFT JOIN oe_c_country as country on (country.rowid = s.fk_pays) LEFT JOIN oe_c_typent as typent on (typent.id = s.fk_typent) LEFT JOIN oe_c_departements as state on (state.rowid = s.fk_departement), oe_facture as f FORCE INDEX(idx_facture_datef) LEFT JOIN oe_projet as p ON p.rowid = f.fk_projet LEFT JOIN oe_user AS u ON f.fk_user_author = u.rowid WHERE f.fk_soc = s.rowid AND f.entity IN (1) ORDER BY f.datef DESC LIMIT 21
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.statut as status, u.login, u.photo, u.gender, u.entity, u.admin FROM oe_user as u WHERE u.entity IN (0,1) ORDER BY status DESC, firstname ASC, lastname ASC
2023-08-15 19:12:08 DEBUG 94.73.41.43 Form::select_dolusers
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT u.rowid, u.lastname as lastname, u.firstname, u.statut as status, u.login, u.admin, u.entity, u.photo FROM oe_user as u WHERE u.entity IN (0, 1) ORDER BY u.statut DESC, u.firstname ASC, u.lastname ASC
2023-08-15 19:12:08 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:12:08 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 0
2023-08-15 19:12:08 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:12:08 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:12:08 DEBUG 94.73.41.43 Categorie::load_motherof
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT fk_parent as id_parent, rowid as id_son FROM oe_categorie WHERE fk_parent != 0 AND entity IN (1)
2023-08-15 19:12:08 DEBUG 94.73.41.43 Categorie::get_full_arbo get category list
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT DISTINCT c.rowid, c.label, c.ref_ext, c.description, c.color, c.fk_parent, c.visible FROM oe_categorie as c WHERE c.entity IN (1) AND c.type = 2
2023-08-15 19:12:08 DEBUG 94.73.41.43 Categorie::get_full_arbo call to buildPathFromId
2023-08-15 19:12:08 DEBUG 94.73.41.43 Categorie::get_full_arbo dol_sort_array
2023-08-15 19:12:08 DEBUG 94.73.41.43 FormCompany::typent_array
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT id, code, libelle FROM oe_c_typent WHERE active = 1 AND (fk_country IS NULL OR fk_country = 4) ORDER by position, id
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 2
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 2 AND f.type = 3
2023-08-15 19:12:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2303-0002 types=files recursive=0 filter=^IN2303\-0002\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 6
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 6 AND f.type = 3
2023-08-15 19:12:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0005 types=files recursive=0 filter=^IN2302\-0005\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 4
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 4 AND f.type = 3
2023-08-15 19:12:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2302-0004 types=files recursive=0 filter=^IN2302\-0004\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 3 AND f.type = 3
2023-08-15 19:12:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0003 types=files recursive=0 filter=^IN2301\-0003\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:12:08 DEBUG 94.73.41.43 Facture::getSommePaiement
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(amount) as amount, sum(multicurrency_amount) as multicurrency_amount FROM oe_paiement_facture WHERE fk_facture = 1
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumCreditNotesUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type IN (0,2,5)
2023-08-15 19:12:08 DEBUG 94.73.41.43 DiscountAbsolute::getSumDepositsUsed
2023-08-15 19:12:08 DEBUG 94.73.41.43 sql=SELECT sum(rc.amount_ttc) as amount, sum(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc, oe_facture as f WHERE rc.fk_facture_source=f.rowid AND rc.fk_facture = 1 AND f.type = 3
2023-08-15 19:12:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/IN2301-0001 types=files recursive=0 filter=^IN2301\-0001\. excludefilter="\\.meta$|\\.png$"
2023-08-15 19:12:08 INFO 94.73.41.43 files.lib.php::dol_dir_list path=/home/iymllvj/oteimsa/admin/documents/facture/temp/massgeneration/1 types=files recursive=0 filter= excludefilter="(\\.meta|_preview.*.*\\.png)$"
2023-08-15 19:12:08 INFO 94.73.41.43 Save lastsearch_values_tmp_compta/facture/list.php={"search_status":"-1","search_user":"-1","search_sale":"-1","search_categ_cus":"-1","search_product_category":"-1","sortfield":"f.datef","sortorder":"DESC"} (systematic recording of last search criterias)
2023-08-15 19:12:08 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/list.php
2023-08-15 19:13:26 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:13:26 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:13:26 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:13:26 DEBUG 94.73.41.43 Form::select_thirdparty_list
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.tva_intra, s.client, s.fournisseur, s.code_client, s.code_fournisseur FROM oe_societe as s WHERE s.entity IN (1) AND (((s.client = 1 OR s.client = 3) AND s.status = 1)) ORDER BY nom ASC
2023-08-15 19:13:26 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=, htmlname=cond_reglement_id
2023-08-15 19:13:26 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:13:26 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:13:26 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:13:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:13:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:13:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:13:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:13:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:13:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:13:26 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:13:26 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:13:26 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:13:26 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:13:26 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:13:26 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:13:26 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:13:33 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:13:33 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:13:33 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=create, massaction=
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:13:33 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.entity IN (1) AND f.ref = 'provisoire'
2023-08-15 19:13:33 WARNING 94.73.41.43 Facture::fetchInvoice with id= or ref=provisoire or ref_ext= not found
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:13:33 DEBUG 94.73.41.43 DiscountAbsolute::getAvailableDiscounts discount_type=0
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT SUM(rc.amount_ttc) as amount, SUM(rc.multicurrency_amount_ttc) as multicurrency_amount FROM oe_societe_remise_except as rc WHERE rc.entity = 1 AND rc.discount_type=0 AND (rc.fk_facture IS NULL AND rc.fk_facture_line IS NULL) AND rc.fk_soc = 6
2023-08-15 19:13:33 DEBUG 94.73.41.43 getOutstandingBills
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT rowid, ref, total_ht, total_ttc, paye, type, fk_statut as status, close_code FROM oe_facture as f WHERE fk_soc = 6 AND entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Translate::loadCacheCurrencies
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT code_iso, label, unicode FROM oe_c_currencies WHERE active = 1 AND code_iso = 'EUR'
2023-08-15 19:13:33 DEBUG 94.73.41.43 Facture::list_replacable_invoices
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut as status, f.paye as paid, ff.rowid as rowidnext FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON f.rowid = ff.fk_facture_source WHERE (f.fk_statut = 1 OR (f.fk_statut = 3 AND f.close_code = 'abandon')) AND f.entity IN (1) AND f.paye = 0 AND pf.fk_paiement IS NULL AND ff.fk_statut IS NULL AND f.fk_soc = 6 ORDER BY f.ref
2023-08-15 19:13:33 DEBUG 94.73.41.43 Facture::list_qualified_avoir_invoices
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT f.rowid as rowid, f.ref, f.fk_statut, f.type, f.paye, pf.fk_paiement FROM oe_facture as f LEFT JOIN oe_paiement_facture as pf ON f.rowid = pf.fk_facture LEFT JOIN oe_facture as ff ON (f.rowid = ff.fk_facture_source AND ff.type=1) WHERE f.entity IN (1) AND f.fk_statut in (1,2) AND ff.type IS NULL AND f.type <> 2 AND f.type <> 5 AND f.fk_soc = 6 ORDER BY f.ref
2023-08-15 19:13:33 DEBUG 94.73.41.43 Form::getSelectConditionsPaiements selected=1, htmlname=cond_reglement_id
2023-08-15 19:13:33 DEBUG 94.73.41.43 Form::load_cache_conditions_paiements
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT rowid, code, libelle as label, deposit_percent FROM oe_c_payment_term WHERE entity IN (1) AND active > 0 ORDER BY sortorder
2023-08-15 19:13:33 DEBUG 94.73.41.43 Form::select_types_paiements , mode_reglement_id, CRDT, 0
2023-08-15 19:13:33 DEBUG 94.73.41.43 Form::load_cache_types_paiements
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT id, code, libelle as label, type, active FROM oe_c_paiement WHERE entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'LCR' AND entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'KLA' AND entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'SOF' AND entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'BANCON' AND entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'IDE' AND entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'GIR' AND entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Translate::getLabelFromKey
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT libelle as label FROM oe_c_paiement WHERE code = 'PPL' AND entity IN (1)
2023-08-15 19:13:33 DEBUG 94.73.41.43 Form::select_comptes
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT rowid, label, bank, clos as status, currency_code FROM oe_bank_account WHERE entity IN (1) AND clos = 0 ORDER BY label
2023-08-15 19:13:33 DEBUG 94.73.41.43 /core/lib/function2.lib.php::getListOfModels
2023-08-15 19:13:33 DEBUG 94.73.41.43 sql=SELECT nom as id, nom as doc_template_name, libelle as label, description as description FROM oe_document_model WHERE type = 'invoice' AND entity IN (0,1) ORDER BY description DESC
2023-08-15 19:13:33 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_public width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:13:33 INFO 94.73.41.43 DolEditor::DolEditor htmlname=note_private width= height=80 toolbarname=dolibarr_notes
2023-08-15 19:13:33 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:13:50 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:13:50 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:13:50 NOTICE 94.73.41.43 --- Access to POST /admin/htdocs/compta/facture/card.php - action=add, massaction=
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:13:50 DEBUG 94.73.41.43 BEGIN Transaction
2023-08-15 19:13:50 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'societe' ORDER BY pos
2023-08-15 19:13:50 INFO 94.73.41.43 Facture::create user=1 date=1677538800
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit_percent, s.transport_mode, s.fk_account, s.tva_assuj, s.mode_reglement_supplier, s.cond_reglement_supplier, s.transport_mode_supplier, s.localtax1_assuj, s.localtax1_value, s.localtax2_assuj, s.localtax2_value, s.fk_prospectlevel, s.default_lang, s.logo, s.logo_squarred, s.fk_shipping_method, s.outstanding_limit, s.import_key, s.canvas, s.fk_incoterms, s.location_incoterms, s.order_min_amount, s.supplier_order_min_amount, s.fk_multicurrency, s.multicurrency_code, fj.libelle as forme_juridique, e.libelle as effectif, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state, r.rowid as region_id, r.code_region as region_code, st.libelle as stcomm, st.picto as stcomm_picto, te.code as typent_code, i.libelle as label_incoterms, s.remise_client, s.remise_supplier FROM oe_societe as s LEFT JOIN oe_c_effectif as e ON s.fk_effectif = e.id LEFT JOIN oe_c_country as c ON s.fk_pays = c.rowid LEFT JOIN oe_c_stcomm as st ON s.fk_stcomm = st.id LEFT JOIN oe_c_forme_juridique as fj ON s.fk_forme_juridique = fj.code LEFT JOIN oe_c_departements as d ON s.fk_departement = d.rowid LEFT JOIN oe_c_regions as r ON d.fk_region = r.code_region LEFT JOIN oe_c_typent as te ON s.fk_typent = te.id LEFT JOIN oe_c_incoterms as i ON s.fk_incoterms = i.rowid WHERE s.entity IN (1) AND s.rowid = 6
2023-08-15 19:13:50 DEBUG 94.73.41.43 Facture::calculate_date_lim_reglement
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT c.type_cdr, c.nbjour, c.decalage FROM oe_c_payment_term as c WHERE c.rowid=1
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=INSERT INTO oe_facture ( ref, entity, ref_ext, type, fk_soc, datec, remise_absolue, remise_percent, datef, date_pointoftax, note_private, note_public, ref_client, fk_account, module_source, pos_source, fk_fac_rec_source, fk_facture_source, fk_user_author, fk_projet, fk_cond_reglement, fk_mode_reglement, date_lim_reglement, model_pdf, situation_cycle_ref, situation_counter, situation_final, fk_incoterms, location_incoterms, fk_multicurrency, multicurrency_code, multicurrency_tx, retained_warranty, retained_warranty_date_limit, retained_warranty_fk_cond_reglement) VALUES ('(PROV)', 1, null, '0', 6, '2023-08-15 21:13:50', NULL, NULL, '2023-02-28 00:00:00', null, null, null, null, 1, null, null, null, null, 1, null, 1, 2, '2023-03-01 00:00:00', 'crabe', null, null, 0, 0, '', 0, 'EUR', 1, 0, '2023-03-01 00:00:00', 0)
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET ref='(PROV7)' WHERE rowid=7
2023-08-15 19:13:50 INFO 94.73.41.43 There is 0 lines that are array lines
2023-08-15 19:13:50 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 7 AND product_type <> 9 ORDER by rowid
2023-08-15 19:13:50 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:13:50 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 7
2023-08-15 19:13:50 INFO 94.73.41.43 Trigger 'ActionsBlockedLog' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_50_modBlockedlog_ActionsBlockedLog.class.php. id=7
2023-08-15 19:13:51 INFO 94.73.41.43 Trigger 'ContactRoles' for action 'BILL_CREATE' launched by /home/iymllvj/oteimsa/admin/htdocs/core/triggers/interface_90_modSociete_ContactRoles.class.php. id=7
2023-08-15 19:13:51 DEBUG 94.73.41.43 Contact::getContactRoles
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT sc.fk_socpeople as id, sc.fk_c_type_contact FROM oe_c_type_contact tc, oe_societe_contacts sc INNER JOIN oe_socpeople sp ON sc.fk_socpeople = sp.rowid AND sp.statut = 1 WHERE sc.fk_soc =6 AND sc.fk_c_type_contact=tc.rowid AND tc.element = 'facture' AND tc.active = 1
2023-08-15 19:13:51 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT rowid, qty, subprice as up, remise_percent, total_ht, total_tva as total_tva, total_ttc, total_localtax1 as total_localtax1, total_localtax2 as total_localtax2, tva_tx as vatrate, localtax1_tx, localtax2_tx, localtax1_type, localtax2_type, info_bits, product_type, situation_percent, multicurrency_total_ht, multicurrency_total_tva, multicurrency_total_ttc FROM oe_facturedet WHERE fk_facture = 7 AND product_type <> 9 ORDER by rowid
2023-08-15 19:13:51 DEBUG 94.73.41.43 Facture::update_price
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=UPDATE oe_facture SET total_ht = 0, total_tva = 0, localtax1 = 0, localtax2 = 0, total_ttc = 0, multicurrency_total_ht = 0, multicurrency_total_tva = 0, multicurrency_total_ttc = 0 WHERE rowid = 7
2023-08-15 19:13:51 DEBUG 94.73.41.43 COMMIT Transaction
2023-08-15 19:13:51 INFO 94.73.41.43 --- End access to /admin/htdocs/compta/facture/card.php
2023-08-15 19:13:51 DEBUG 94.73.41.43 - This is an already logged session. _SESSION['dol_login']=oteimsa _SESSION['dol_entity']=1
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT u.rowid, u.lastname, u.firstname, u.employee, u.gender, u.civility as civility_code, u.birth, u.email, u.personal_email, u.job, u.socialnetworks, u.signature, u.office_phone, u.office_fax, u.user_mobile, u.personal_mobile, u.address, u.zip, u.town, u.fk_state as state_id, u.fk_country as country_id, u.admin, u.login, u.note_private, u.note_public, u.pass, u.pass_crypted, u.pass_temp, u.api_key, u.fk_soc, u.fk_socpeople, u.fk_member, u.fk_user, u.ldap_sid, u.fk_user_expense_validator, u.fk_user_holiday_validator, u.statut as status, u.lang, u.entity, u.datec as datec, u.tms as datem, u.datelastlogin as datel, u.datepreviouslogin as datep, u.iplastlogin, u.ippreviouslogin, u.datelastpassvalidation, u.datestartvalidity, u.dateendvalidity, u.photo as photo, u.openid as openid, u.accountancy_code, u.thm, u.tjm, u.salary, u.salaryextra, u.weeklyhours, u.color, u.dateemployment, u.dateemploymentend, u.fk_warehouse, u.ref_ext, u.default_range, u.default_c_exp_tax_cat, u.national_registration_number, u.ref_employee, c.code as country_code, c.label as country, d.code_departement as state_code, d.nom as state FROM oe_user as u LEFT JOIN oe_c_country as c ON u.fk_country = c.rowid LEFT JOIN oe_c_departements as d ON u.fk_state = d.rowid WHERE u.entity IN (0, 1) AND u.login = 'oteimsa' ORDER BY u.entity ASC
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'user' ORDER BY pos
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT param, value FROM oe_user_param WHERE fk_user = 1 AND entity = 1
2023-08-15 19:13:51 DEBUG 94.73.41.43 DefaultValues::fetchAll
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT rowid,type,user_id,page,param,value FROM oe_default_values as t WHERE 1 = 1 AND (t.user_id IN (0,1) AND entity IN (0,1))
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_user_rights as ur, oe_rights_def as r WHERE r.id = ur.fk_id AND r.entity = 1 AND ur.entity = 1 AND ur.fk_user= 1 AND r.perms IS NOT NULL
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT DISTINCT r.module, r.perms, r.subperms FROM oe_usergroup_rights as gr, oe_usergroup_user as gu, oe_rights_def as r WHERE r.id = gr.fk_id AND gr.entity = 1 AND gu.entity IN (0,1) AND r.entity = 1 AND gr.fk_usergroup = gu.fk_usergroup AND gu.fk_user = 1 AND r.perms IS NOT NULL
2023-08-15 19:13:51 NOTICE 94.73.41.43 --- Access to GET /admin/htdocs/compta/facture/card.php - action=, massaction=
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT transkey, transvalue FROM oe_overwrite_trans where lang='es_ES' OR lang IS NULL AND entity IN (0, 1) ORDER BY lang DESC
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT m.rowid, m.type, m.module, m.fk_menu, m.fk_mainmenu, m.fk_leftmenu, m.url, m.titre, m.prefix, m.langs, m.perms, m.enabled, m.target, m.mainmenu, m.leftmenu, m.position FROM oe_menu as m WHERE m.entity IN (0,1) AND m.menu_handler IN ('eldy','all') AND m.usertype IN (0,2) ORDER BY m.position, m.rowid
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:13:51 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 7
2023-08-15 19:13:51 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 7 ORDER BY l.rang, l.rowid
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax1_type <> '0'
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT t.localtax1, t.localtax2 FROM oe_c_tva as t, oe_c_country as c WHERE t.fk_pays = c.rowid AND c.code = 'ES' AND t.active = 1 AND t.localtax2_type <> '0'
2023-08-15 19:13:51 DEBUG 94.73.41.43 Facture::fetch
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT f.rowid, f.entity, f.ref, f.ref_client, f.ref_ext, f.type, f.fk_soc, f.total_tva, f.localtax1, f.localtax2, f.total_ht, f.total_ttc, f.revenuestamp, f.remise_percent, f.remise_absolue, f.remise, f.datef as df, f.date_pointoftax, f.date_lim_reglement as dlr, f.datec as datec, f.date_valid as datev, f.tms as datem, f.note_private, f.note_public, f.fk_statut, f.paye, f.close_code, f.close_note, f.fk_user_author, f.fk_user_valid, f.fk_user_modif, f.model_pdf, f.last_main_doc, f.fk_facture_source, f.fk_fac_rec_source, f.fk_mode_reglement, f.fk_cond_reglement, f.fk_projet as fk_project, f.extraparams, f.situation_cycle_ref, f.situation_counter, f.situation_final, f.fk_account, f.fk_multicurrency, f.multicurrency_code, f.multicurrency_tx, f.multicurrency_total_ht, f.multicurrency_total_tva, f.multicurrency_total_ttc, p.code as mode_reglement_code, p.libelle as mode_reglement_libelle, c.code as cond_reglement_code, c.libelle as cond_reglement_libelle, c.libelle_facture as cond_reglement_libelle_doc, f.fk_incoterms, f.location_incoterms, f.module_source, f.pos_source, i.libelle as label_incoterms, f.retained_warranty as retained_warranty, f.retained_warranty_date_limit as retained_warranty_date_limit, f.retained_warranty_fk_cond_reglement as retained_warranty_fk_cond_reglement FROM oe_facture as f LEFT JOIN oe_c_payment_term as c ON f.fk_cond_reglement = c.rowid LEFT JOIN oe_c_paiement as p ON f.fk_mode_reglement = p.id LEFT JOIN oe_c_incoterms as i ON f.fk_incoterms = i.rowid WHERE f.rowid = 7
2023-08-15 19:13:51 DEBUG 94.73.41.43 Facture::fetch_lines
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT l.rowid, l.fk_facture, l.fk_product, l.fk_parent_line, l.label as custom_label, l.description, l.product_type, l.price, l.qty, l.vat_src_code, l.tva_tx, l.localtax1_tx, l.localtax2_tx, l.localtax1_type, l.localtax2_type, l.remise_percent, l.fk_remise_except, l.subprice, l.ref_ext, l.situation_percent, l.fk_prev_id, l.rang, l.special_code, l.date_start as date_start, l.date_end as date_end, l.info_bits, l.total_ht, l.total_tva, l.total_localtax1, l.total_localtax2, l.total_ttc, l.fk_code_ventilation, l.fk_product_fournisseur_price as fk_fournprice, l.buy_price_ht as pa_ht, l.fk_unit, l.fk_multicurrency, l.multicurrency_code, l.multicurrency_subprice, l.multicurrency_total_ht, l.multicurrency_total_tva, l.multicurrency_total_ttc, p.ref as product_ref, p.fk_product_type as fk_product_type, p.label as product_label, p.description as product_desc FROM oe_facturedet as l LEFT JOIN oe_product as p ON l.fk_product = p.rowid WHERE l.fk_facture = 7 ORDER BY l.rang, l.rowid
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT rowid, name, label, type, size, elementtype, fieldunique, fieldrequired, param, pos, alwayseditable, perms, langs, list, printable, totalizable, fielddefault, fieldcomputed, entity, enabled, help, css, cssview, csslist FROM oe_extrafields WHERE elementtype = 'facture' ORDER BY pos
2023-08-15 19:13:51 DEBUG 94.73.41.43 sql=SELECT s.rowid, s.nom as name, s.name_alias, s.entity, s.ref_ext, s.address, s.datec as date_creation, s.prefix_comm, s.status, s.fk_warehouse, s.price_level, s.tms as date_modification, s.fk_user_creat, s.fk_user_modif, s.phone, s.fax, s.email, s.socialnetworks, s.url, s.zip, s.town, s.note_private, s.note_public, s.client, s.fournisseur, s.siren as idprof1, s.siret as idprof2, s.ape as idprof3, s.idprof4, s.idprof5, s.idprof6, s.capital, s.tva_intra, s.fk_typent as typent_id, s.fk_effectif as effectif_id, s.fk_forme_juridique as forme_juridique_code, s.webservices_url, s.webservices_key, s.model_pdf, s.last_main_doc, s.code_compta, s.code_compta_fournisseur, s.accountancy_code_buy, s.accountancy_code_sell, s.code_client, s.code_fournisseur, s.parent, s.barcode, s.fk_departement as state_id, s.fk_pays as country_id, s.fk_stcomm, s.mode_reglement, s.cond_reglement, s.deposit